diff options
| author | Sean Christopherson <seanjc@google.com> | 2021-07-13 19:32:40 +0300 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-08-02 18:01:48 +0300 |
| commit | afc8de0118be84f4058b9977d481aeb3e0758dbb (patch) | |
| tree | a6f56d6a4f024e5ff5b29f0e6292c97db6196232 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | df37ed38e6c26064d5f97ebbe5cacc75eeb89153 (diff) | |
| download | linux-afc8de0118be84f4058b9977d481aeb3e0758dbb.tar.xz | |
KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit
Set L1's LDTR on VM-Exit per the Intel SDM:
The host-state area does not contain a selector field for LDTR. LDTR is
established as follows on all VM exits: the selector is cleared to
0000H, the segment is marked unusable and is otherwise undefined
(although the base address is always canonical).
This is likely a benign bug since the LDTR is unusable, as it means the
L1 VMM is conditioned to reload its LDTR in order to function properly on
bare metal.
Fixes: 4704d0befb07 ("KVM: nVMX: Exiting from L2 to L1")
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210713163324.627647-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
