KVM: x86 emulator: Update c->dst.bytes in decode instruction
commit89c696383d6eb493351a89d450d8ad7a55cbe1da
authorGuillaume Thouvenin <guillaume.thouvenin@ext.bull.net>
Tue, 27 May 2008 08:22:20 +0000 (27 10:22 +0200)
committerAvi Kivity <avi@qumranet.com>
Sun, 20 Jul 2008 09:42:27 +0000 (20 12:42 +0300)
tree52ba8d5e28a957e04817acca1d419c3641ffd9db
parent3e6e0aab1ba1e8b354ce01f5659336f9aee69437
KVM: x86 emulator: Update c->dst.bytes in decode instruction

Update c->dst.bytes in decode instruction instead of instruction
itself.  It's needed because if c->dst.bytes is equal to 0, the
instruction is not emulated.

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