KVM: x86: Check LMA bit before set_efer
authorSheng Yang <sheng@linux.intel.com>
Wed, 12 May 2010 08:40:40 +0000 (16:40 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 19 May 2010 08:41:09 +0000 (11:41 +0300)
kvm_x86_ops->set_efer() would execute vcpu->arch.efer = efer, so the
checking of LMA bit didn't work.

Signed-off-by: Sheng Yang <sheng@linux.intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found