xsm: Permit dom0 to use dmops
PATCH 1/1 xsm: Permit dom0 to use dmops
c/s 524a98c2ac5 "public / x86: introduce __HYPERCALL_dm_op" gave flask permisisons for a stubdomain to use dmops, but omitted the case of a device model running in dom0.
---
CC: Paul Durrant <[email protected]>
CC: Ian Jackson <[email protected]>
CC: Wei Liu <[email protected]>
CC: Daniel De Graaf <[email protected]>
CC: Jan Beulich <[email protected]>
--- tools/flask/policy/modules/xen.if | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/flask/policy/modules/xen.if +1 -1
@@ -58,7 +58,7 @@ define(`create_domain_common', ` allow $1 $2:mmu { map_read map_write adjust memorymap physmap pinpage mmuext_op updatemp }; allow $1 $2:grant setup; allow $1 $2:hvm { cacheattr getparam hvmctl sethvmc - setparam nested altp2mhvm altp2mhvm_op }; + setparam nested altp2mhvm altp2mhvm_op dm }; ') # create_domain(priv, target)
Signature · 7 lines
2.1.4 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xen.org/xen-devel
Quoted 5 lines · Andrew Cooper
c/s
524a98c2ac5"public / x86: introduce__HYPERCALL_dm_op" gave flask permisisons for a stubdomain to use dmops, but omitted the case of a device model running in dom0.Signed-off-by Andrew Cooper <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Paul Durrant
Tested-byQuoted 11 lines
-----Original Message-----
From: Wei Liu [mailto:[email protected]]
Sent: 27 January 2017 14:33
To: Andrew Cooper <[email protected]>
Cc: Xen-devel <[email protected]>; Paul Durrant <[email protected]>; Ian Jackson <[email protected]>; Wei Liu <[email protected]>; Daniel De Graaf <[email protected]>; Jan Beulich <[email protected]>
Subject: Re: [PATCH] xsm: Permit dom0 to use dmopsOn Fri, Jan 27, 2017 at 02:16:58PM +0000, Andrew Cooper wrote:
Quoted 8 lines
Quoted 2 lines
c/s
524a98c2ac5"public / x86: introduce__HYPERCALL_dm_op" gave flask permisisons for a stubdomain to use dmops, but omitted the case of adevice
Quoted 3 lines
model running in dom0.
Signed-off-by Andrew Cooper <[email protected]>Reviewed-by Wei Liu <[email protected]>
I was unable to boot a guest under a flask enabled Xen without this patch, and able to boot after applying the patch so...
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Paul Durrant writes ("RE: [PATCH] xsm: Permit dom0 to use dmops"):
Quoted 3 lines
I was unable to boot a guest under a flask enabled Xen without this patch, and able to boot after applying the patch so...
Tested-by Paul Durrant <[email protected]>
In order to get staging un-broken I have pushed this now, even though it's not had an ack from an XSM maintainer.
Daniel: your review would still be appreciated.
Thanks,
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel