x86/hvm: break out __hvm_copy()'s translation logic
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 20 Sep 2017 15:21:29 +0000 (17:21 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 20 Sep 2017 15:21:29 +0000 (17:21 +0200)
commit3c6d3b9a939b67b1697b87d7d88d416e939a3f06
tree7d62e84a24ee768ab4dac97bc8624ded534cfc68
parent36c4f1f3e81c127f8e315dc62527161065d7c032
x86/hvm: break out __hvm_copy()'s translation logic

It will be reused by later changes.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Alexandru Isaila <aisaila@bitdefender.com>
Reviewed-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/support.h