diff options
author | Paul Durrant <paul.durrant@citrix.com> | 2015-01-20 11:06:19 +0000 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2015-01-20 14:24:10 +0000 |
commit | 3996e85c1822e05c50250f8d2d1e57b6bea1229d (patch) | |
tree | 275774a6b43e86327dcbc98021e3ddfa52d54bf1 /tcg/tcg-runtime.h | |
parent | 707ff80021ccd7a68f4b3d2c44eebf87efbb41c4 (diff) | |
download | qemu-3996e85c1822e05c50250f8d2d1e57b6bea1229d.tar.gz qemu-3996e85c1822e05c50250f8d2d1e57b6bea1229d.tar.bz2 qemu-3996e85c1822e05c50250f8d2d1e57b6bea1229d.zip |
Xen: Use the ioreq-server API when available
The ioreq-server API added to Xen 4.5 offers better security than
the existing Xen/QEMU interface because the shared pages that are
used to pass emulation request/results back and forth are removed
from the guest's memory space before any requests are serviced.
This prevents the guest from mapping these pages (they are in a
well known location) and attempting to attack QEMU by synthesizing
its own request structures. Hence, this patch modifies configure
to detect whether the API is available, and adds the necessary
code to use the API if it is.
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tcg/tcg-runtime.h')
0 files changed, 0 insertions, 0 deletions