commit | a3d204e28579427609c3d15d2310127ebaa47d94 | [log] [tgz] |
---|---|---|
author | Sheng Yang <sheng@linux.intel.com> | Wed May 12 16:40:40 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Wed May 19 11:41:09 2010 +0300 |
tree | d4da68fd9437dab5b1444766c7367f81496ea4e1 | |
parent | f78e917688edbf1f14c318d2e50dc8e7dad20445 [diff] |
KVM: x86: Check LMA bit before set_efer 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>