x86/hvm: Avoid __hvm_copy() raising #PF behind the emulators back
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 1 Nov 2016 20:02:35 +0000 (20:02 +0000)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Fri, 2 Dec 2016 17:23:02 +0000 (17:23 +0000)
commit28ef9ccaa91cf945c052cdd9364be0c40f7bce4a
tree25b480871aa9e841a788d64e1ca3d00e3a667207
parent5d61588fe678e99b65669e0e79d88582cbc8ea2e
x86/hvm: Avoid __hvm_copy() raising #PF behind the emulators back

Drop the call to hvm_inject_page_fault() in __hvm_copy(), and require callers
to inject the pagefault themselves.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
Acked-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
xen/arch/x86/hvm/emulate.c
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/vmx/vvmx.c
xen/arch/x86/mm/shadow/common.c
xen/include/asm-x86/hvm/support.h