KVM: x86 emulator: Use DstAcc for 'and'
authorGuillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Fri, 12 Sep 2008 11:52:18 +0000 (13:52 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 15 Oct 2008 08:16:14 +0000 (10:16 +0200)
commitaa3a816b6d0bd59e1a9c548cc7d2dd829f26534f
tree979d3f1181f86647bab826149c141fa1d28c8e92
parent8a9fee67fba585b4c4731a749367e1751ebf416c
KVM: x86 emulator: Use DstAcc for 'and'

For instruction 'and al,imm' we use DstAcc instead of doing
the emulation directly into the instruction's opcode.

Signed-off-by: Guillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Signed-off-by: Avi Kivity <avi@qumranet.com>
arch/x86/kvm/x86_emulate.c