qemu-e2k/hw/xen
Paul Durrant 1c599472b0 xen: use libxendevice model to restrict operations
This patch adds a command-line option (-xen-domid-restrict) which will
use the new libxendevicemodel API to restrict devicemodel [1] operations
to the specified domid. (Such operations are not applicable to the xenpv
machine type).

This patch also adds a tracepoint to allow successful enabling of the
restriction to be monitored.

[1] I.e. operations issued by libxendevicemodel. Operation issued by other
    xen libraries (e.g. libxenforeignmemory) are currently still unrestricted
    but this will be rectified by subsequent patches.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
2017-04-21 12:40:14 -07:00
..
Makefile.objs xen: do not build backends for targets that do not support xen 2017-03-19 11:12:12 +01:00
trace-events xen: use libxendevice model to restrict operations 2017-04-21 12:40:14 -07:00
xen-host-pci-device.c util: move declarations out of qemu-common.h 2016-03-22 22:20:17 +01:00
xen-host-pci-device.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
xen_backend.c xen: make use of xen_xc implicit in xen_common.h inlines 2017-03-22 11:47:39 -07:00
xen_devconfig.c xen: Rename xen_be_printf to xen_pv_printf 2016-10-28 17:53:50 -07:00
xen_pt.c Xen PCI passthrough: fix passthrough failure when no interrupt pin 2016-08-04 10:42:48 -07:00
xen_pt.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00
xen_pt_config_init.c Xen: fix converity warning of xen_pt_config_init() 2016-08-12 16:38:18 -07:00
xen_pt_graphics.c include/qemu/osdep.h: Don't include qapi/error.h 2016-03-22 22:20:15 +01:00
xen_pt_msi.c os-posix: include sys/mman.h 2016-06-16 18:39:03 +02:00
xen_pvdev.c xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00