commit | aa9ac1a6323d21065e121902fef4f1b6c07c37c7 | [log] [tgz] |
---|---|---|
author | Gleb Natapov <gleb@redhat.com> | Mon Nov 04 15:52:41 2013 +0200 |
committer | Gleb Natapov <gleb@redhat.com> | Tue Nov 05 09:11:18 2013 +0200 |
tree | 8d2691f0b1633519595db3b3244b3a84a1bae46a | |
parent | 95f328d3ad1a8e4e3175a18546fb35c495e31130 [diff] |
KVM: emulator: check rex prefix inside decode_register() All decode_register() callers check if instruction has rex prefix to properly decode one byte operand. It make sense to move the check inside. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Gleb Natapov <gleb@redhat.com>