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)
commit4918c6ca6838658b71d3ce75e1a4373195ac8d40
treefe4c8bce013a69efd0da7f6113acb84e039761a7
parent982b3394dd23eec6e5a2f7871238435a167b63cc
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