diff options
| author | Sean Christopherson <[email protected]> | 2021-07-13 09:32:41 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-08-02 11:01:49 -0400 |
| commit | 4f117ce4aefca0e90cd44680219d4c261c1381b9 (patch) | |
| tree | 710618f752ea032d8c234813fe7ce52c9722a590 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | afc8de0118be84f4058b9977d481aeb3e0758dbb (diff) | |
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 <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions