diff options
| author | Ian Jackson | 2017-09-15 17:03:14 +0200 |
|---|---|---|
| committer | Ian Jackson | 2018-04-26 17:29:51 +0200 |
| commit | 0ef4d87da58dfe0e0e466414701c103b7a44df65 (patch) | |
| tree | a25a6bac8c41ca0b7328a7b217f92eb662225c6f /scripts/checkpatch.pl | |
| parent | xen: link against xentoolcore (diff) | |
| download | qemu-0ef4d87da58dfe0e0e466414701c103b7a44df65.tar.gz qemu-0ef4d87da58dfe0e0e466414701c103b7a44df65.tar.xz qemu-0ef4d87da58dfe0e0e466414701c103b7a44df65.zip | |
xen: restrict: use xentoolcore_restrict_all
And insist that it works.
Drop individual use of xendevicemodel_restrict and
xenforeignmemory_restrict. These are not actually effective in this
version of qemu, because qemu has a large number of fds open onto
various Xen control devices.
The restriction arrangements are still not right, because the
restriction needs to be done very late - after qemu has opened all of
its control fds.
xentoolcore_restrict_all and xentoolcore.h are available in Xen 4.10
and later, only. Provide a compatibility stub. And drop the
compatibility stubs for the old functions.
Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Acked-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions
