x86/HVM: convert hvm_virtual_to_linear_addr() to be remote-capable
authorJan Beulich <jbeulich@suse.com>
Wed, 29 Sep 2021 09:56:18 +0000 (11:56 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 29 Sep 2021 09:56:18 +0000 (11:56 +0200)
commitdffe59c12444a97d9af82db6e6e4df7e2143c5f5
tree0719a949d061bf03e768172b3eb9e0e2b0c752a2
parent9c3b9800e2019c93ab22da69e4a0b22d6fb059ec
x86/HVM: convert hvm_virtual_to_linear_addr() to be remote-capable

While all present callers want to act on "current", stack dumping for
HVM vCPU-s will require the function to be able to act on a remote vCPU.
To avoid touching all present callers, convert the existing function to
an inline wrapper around the extend new one.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
xen/arch/x86/hvm/hvm.c
xen/include/asm-x86/hvm/hvm.h