commit | 33615aa956521923eab0552994b5961cd3034042 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Wed Oct 31 11:15:56 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Wed Jan 30 17:52:59 2008 +0200 |
tree | dae9983159614d9bdfed6d60201e60f1a72105f0 | |
parent | 3c118e24af821d68dca0ba81e9499820c840c133 [diff] |
KVM: x86 emulator: centralize decoding of one-byte register access insns Instructions like 'inc reg' that have the register operand encoded in the opcode are currently specially decoded. Extend decode_register_operand() to handle that case, indicated by having DstReg or SrcReg without ModRM. Signed-off-by: Avi Kivity <avi@qumranet.com>