]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: don't configure RM TSS for unrestricted guest
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 5 Mar 2018 20:04:36 +0000 (12:04 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 16 Mar 2018 21:01:33 +0000 (22:01 +0100)
commit12abfd4be4cf17b68fd1f37d9a0031a09ab99f6d
tree44db7cd8c4860a710fe3267ea27a257f801a1f55
parent1851df717b245ef5d1b1fb621c92d5cbadc78171
KVM: VMX: don't configure RM TSS for unrestricted guest

An unrestricted guest can run with CR0.PG==0 and/or CR0.PE==0,
e.g. it can run in Real Mode without requiring host emulation.
The RM TSS is only used for emulating RM, i.e. it will never
be used when unrestricted guest is enabled and so doesn't need
to be configured.

Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c