summaryrefslogtreecommitdiffstats
path: root/ipc
diff options
context:
space:
mode:
authorAaron Lewis <aaronlewis@google.com>2019-10-21 16:30:23 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2019-10-22 15:45:59 +0200
commit312a1c87798e6b43ff533393167b3cba33645ead (patch)
tree5321085e5ad08feffd3a2500fa5231606a55cb5d /ipc
parent78958563d8023db0c6d03a2fe2a64d79b47b4349 (diff)
downloadlinux-312a1c87798e6b43ff533393167b3cba33645ead.tar.bz2
KVM: SVM: Use wrmsr for switching between guest and host IA32_XSS on AMD
When the guest can execute the XSAVES/XRSTORS instructions, set the hardware IA32_XSS MSR to guest/host values on VM-entry/VM-exit. Note that vcpu->arch.ia32_xss is currently guaranteed to be 0 on AMD, since there is no way to change it. Suggested-by: Sean Christopherson <sean.j.christopherson@intel.com> Reviewed-by: Jim Mattson <jmattson@google.com> Signed-off-by: Aaron Lewis <aaronlewis@google.com> Change-Id: Id51a782462086e6d7a3ab621838e200f1c005afd Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions