]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Require KVM_SET_TSS_ADDR being called prior to running a VCPU
authorJan Kiszka <jan.kiszka@siemens.com>
Fri, 15 Mar 2013 07:38:56 +0000 (08:38 +0100)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 18 Mar 2013 16:48:15 +0000 (13:48 -0300)
commit2fb7acb326d0cb49cc48d6341b14dc94ade584f1
treefe4c8bce013a69efd0da7f6113acb84e039761a7
parentc88543ecc03961d8ec440f932e14b9547552bc32
KVM: VMX: Require KVM_SET_TSS_ADDR being called prior to running a VCPU

Very old user space (namely qemu-kvm before kvm-49) didn't set the TSS
base before running the VCPU. We always warned about this bug, but no
reports about users actually seeing this are known. Time to finally
remove the workaround that effectively prevented to call vmx_vcpu_reset
while already holding the KVM srcu lock.

Reviewed-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/vmx.c