]> Pileus Git - ~andy/linux/commit
KVM: x86: emulate movdqa
authorStefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Mon, 9 Apr 2012 15:40:00 +0000 (18:40 +0300)
committerMarcelo Tosatti <mtosatti@redhat.com>
Mon, 16 Apr 2012 23:36:15 +0000 (20:36 -0300)
commit49597d8116ad70aabb598e606b218ddd9315b0af
treea48b792af42f74867bb929716f84d62145847602
parent1c11b37669a5209bd11fb857a103634afef971e8
KVM: x86: emulate movdqa

An Ubuntu 9.10 Karmic Koala guest is unable to boot or install due to
missing movdqa emulation:

kvm_exit: reason EXCEPTION_NMI rip 0x7fef3e025a7b info 7fef3e799000 80000b0e
kvm_page_fault: address 7fef3e799000 error_code f
kvm_emulate_insn: 0:7fef3e025a7b: 66 0f 7f 07 (prot64)

movdqa %xmm0,(%rdi)

[avi: mark it explicitly aligned]

Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/emulate.c