KVM: SVM: init_vmcb should reset vcpu->efer
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 31 Aug 2010 22:13:14 +0000 (19:13 -0300)
committerAvi Kivity <avi@redhat.com>
Sun, 24 Oct 2010 08:51:51 +0000 (10:51 +0200)
commiteaa48512ba9df32aab8be5fceec10f3f80369379
treef1a7ebecbf05cc1ee3b5a6eaac174a8a152c7076
parent678041ad9dc82eedc598f709e8a3d620139d4105
KVM: SVM: init_vmcb should reset vcpu->efer

Otherwise EFER_LMA bit is retained across a SIPI reset.

Fixes guest cpu onlining.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/svm.c