KVM: VMX: vmx_set_cr0 expects kvm->srcu locked
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 27 Mar 2012 22:47:26 +0000 (19:47 -0300)
committerAvi Kivity <avi@redhat.com>
Thu, 5 Apr 2012 16:04:09 +0000 (19:04 +0300)
vmx_set_cr0 is called from vcpu run context, therefore it expects
kvm->srcu to be held (for setting up the real-mode TSS).

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found