]> 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)
commit4000e9ec0d7418e35f70923cf0d003f5a256238d
treefe4c8bce013a69efd0da7f6113acb84e039761a7
parent87a0ce76ada8a0064b02a406036d0c0270a59ee7
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