]> Pileus Git - ~andy/linux/commit
KVM: emulator: emulate AAM
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 9 May 2013 09:32:49 +0000 (11:32 +0200)
committerGleb Natapov <gleb@redhat.com>
Thu, 9 May 2013 10:12:58 +0000 (13:12 +0300)
commita035d5c64d08a8ac12d81b596e7fa6d95a73c347
treed294150c9d50c711d48e9d2e1827b4dde7c316ec
parent8d76c49e9ffeee839bc0b7a3278a23f99101263e
KVM: emulator: emulate AAM

This is used by SGABIOS, KVM breaks with emulate_invalid_guest_state=1.

AAM needs the source operand to be unsigned; do the same in AAD as well
for consistency, even though it does not affect the result.

Reported-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
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