]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commit
x86/altp2m: Add a subop for obtaining the mem access of a page
authorRazvan Cojocaru <rcojocaru@bitdefender.com>
Thu, 27 Sep 2018 07:58:54 +0000 (10:58 +0300)
committerGeorge Dunlap <george.dunlap@citrix.com>
Tue, 16 Oct 2018 16:20:47 +0000 (17:20 +0100)
commit7559ab7830c3e1594cd73efd3f1acbb171036728
treecdd43750e4a833f3faff72b6993966d92f4ea7fe
parentd1b7c32e73ef71cf3f62a8bf9a48c2ed54b536f3
x86/altp2m: Add a subop for obtaining the mem access of a page

Currently there is a subop for setting the memaccess of a page, but not
for consulting it.  The new HVMOP_altp2m_get_mem_access adds this
functionality.

Both altp2m get/set mem access functions use the struct
xen_hvm_altp2m_mem_access which has now dropped the `set' part and has
been renamed from xen_hvm_altp2m_set_mem_access.

Signed-off-by: Adrian Pop <apop@bitdefender.com>
Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Acked-by: Tamas K Lengyel <tamas@tklengyel.com>
Reviewed-by: George Dunlap <george.dunlap@citrix.com>
tools/libxc/include/xenctrl.h
tools/libxc/xc_altp2m.c
xen/arch/arm/mem_access.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/mm/mem_access.c
xen/common/mem_access.c
xen/include/public/hvm/hvm_op.h
xen/include/public/xen-compat.h
xen/include/xen/mem_access.h