x86/hvm: provide XEN_DMOP_pin_memory_cacheattr
authorRoss Lagerwall <ross.lagerwall@citrix.com>
Thu, 25 Jan 2018 11:25:22 +0000 (12:25 +0100)
committerJan Beulich <jbeulich@suse.com>
Thu, 25 Jan 2018 11:25:22 +0000 (12:25 +0100)
commit642123c5123ff48d76d7ee376219ab50336636b9
treeba6e66f899dd973592f70f3271d61731ab6a4f32
parent6606cf3e2af0962b12a8802d9a5bf2cef6eaf005
x86/hvm: provide XEN_DMOP_pin_memory_cacheattr

Provide XEN_DMOP_pin_memory_cacheattr to allow a deprivileged QEMU to
pin the caching type of RAM after moving the VRAM. It is equivalent to
XEN_DOMCTL_pin_memory_cacheattr.

Signed-off-by: Ross Lagerwall <ross.lagerwall@citrix.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/dm.c
xen/include/public/hvm/dm_op.h
xen/include/xlat.lst