summaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2019-01-25 07:41:08 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2019-02-12 13:12:26 +0100
commitd55892049171872a8f1aba542aa0691efe3da52d (patch)
tree62d5c3c8e1cdc61ce5f78dac95ef02facae26046 /arch/x86/include/asm
parentf78d0971b7bd5bf4373a1fac27f176af5d5594ed (diff)
downloadlinux-0-day-d55892049171872a8f1aba542aa0691efe3da52d.tar.gz
linux-0-day-d55892049171872a8f1aba542aa0691efe3da52d.tar.xz
KVM: VMX: Use vcpu->arch.regs directly when saving/loading guest state
...now that all other references to struct vcpu_vmx have been removed. Note that 'vmx' still needs to be passed into the asm blob in _ASM_ARG1 as it is consumed by vmx_update_host_rsp(). And similar to that code, use _ASM_ARG2 in the assembly code to prepare for moving to proper asm, while explicitly referencing the exact registers in the clobber list for clarity in the short term and to avoid additional precompiler games. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/include/asm')
0 files changed, 0 insertions, 0 deletions