KVM: x86: Call vcpu_load and vcpu_put in cpuid_update
authorDongxiao Xu <dongxiao.xu@intel.com>
Tue, 11 May 2010 10:21:33 +0000 (18:21 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 13 May 2010 04:31:02 +0000 (01:31 -0300)
commitfe19c5a46b4c519153fddd4d5efe32a3e4cfa694
treed06ee3d4bdd4a8bf7953841608b0ad32e7a4f5bd
parent061e2fd16863009c8005b4b5fdfb75c7215c0b99
KVM: x86: Call vcpu_load and vcpu_put in cpuid_update

cpuid_update may operate VMCS, so vcpu_load() and vcpu_put()
should be called to ensure correctness.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/x86.c