qemu-patch-raspberry4/include/hw/xen
Paul Durrant 14d015b6fc xen: additionally restrict xenforeignmemory operations
Commit f0f272baf3a7 "xen: use libxendevice model to restrict operations"
added a command-line option (-xen-domid-restrict) to limit operations
using the libxendevicemodel API to a specified domid. The commit also
noted that the restriction would be extended to cover operations issued
via other xen libraries by subsequent patches.

My recent Xen patch [1] added a call to the xenforeignmemory API to allow
it to be restricted. This patch now makes use of that new call when the
-xen-domid-restrict option is passed.

[1] http://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=5823d6eb

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
2017-04-21 12:40:14 -07:00
..
xen.h xen: use libxendevice model to restrict operations 2017-04-21 12:40:14 -07:00
xen_backend.h xen: make use of xen_xc implicit in xen_common.h inlines 2017-03-22 11:47:39 -07:00
xen_common.h xen: additionally restrict xenforeignmemory operations 2017-04-21 12:40:14 -07:00
xen_pvdev.h xen: create qdev for each backend device 2016-11-22 10:29:39 -08:00