Thread (88 messages) 88 messages, 4 authors, 2021-06-10

Re: [PATCH 01/43] KVM: nVMX: Set LDTR to its architecturally defined value on nested VM-Exit

From: Reiji Watanabe <hidden>
Date: 2021-05-19 05:30:44
Also in: lkml

On Fri, Apr 23, 2021 at 5:47 PM Sean Christopherson [off-list ref] wrote:
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")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Reiji Watanabe <redacted>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help