summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/vmx
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2021-07-13 19:32:41 +0300
committerPaolo Bonzini <pbonzini@redhat.com>2021-08-02 18:01:49 +0300
commit4f117ce4aefca0e90cd44680219d4c261c1381b9 (patch)
tree710618f752ea032d8c234813fe7ce52c9722a590 /arch/x86/kvm/vmx
parentafc8de0118be84f4058b9977d481aeb3e0758dbb (diff)
downloadlinux-4f117ce4aefca0e90cd44680219d4c261c1381b9.tar.xz
KVM: SVM: Zero out GDTR.base and IDTR.base on INIT
Explicitly set GDTR.base and IDTR.base to zero when intializing the VMCB. Functionally this only affects INIT, as the bases are implicitly set to zero on RESET by virtue of the VMCB being zero allocated. Per AMD's APM, GDTR.base and IDTR.base are zeroed after RESET and INIT. Fixes: 04d2cc7780d4 ("KVM: Move main vcpu loop into subarch independent code") Signed-off-by: Sean Christopherson <seanjc@google.com> Message-Id: <20210713163324.627647-4-seanjc@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx')
0 files changed, 0 insertions, 0 deletions