KVM: fix sil/dil/bpl/spl in the mod/rm fields
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 30 May 2013 14:35:55 +0000 (16:35 +0200)
committerGleb Natapov <gleb@redhat.com>
Mon, 3 Jun 2013 08:27:12 +0000 (11:27 +0300)
commit8acb42070ec4c87a9baab5c7bac626030d5bef28
tree5515211b023326ba26a1c2f25656d7269a6cf672
parent103f98ea64a1b0a67d8a1b23070b4db3533db2b8
KVM: fix sil/dil/bpl/spl in the mod/rm fields

The x86-64 extended low-byte registers were fetched correctly from reg,
but not from mod/rm.

This fixes another bug in the boot of RHEL5.9 64-bit, but it is still
not enough.

Cc: <stable@vger.kernel.org> # 3.9
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Gleb Natapov <gleb@redhat.com>
arch/x86/kvm/emulate.c