diff options
author | Avi Kivity <avi@redhat.com> | 2010-08-01 12:07:29 +0300 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-10-24 10:50:33 +0200 |
commit | 09ee57cdae3156aa3b74f378a0c57ef657c90f38 (patch) | |
tree | 4a5ef03f67ef75644bad8cdbc7c41944f1a0139f /arch/x86/include/asm/kvm_emulate.h | |
parent | dbe7758482a870f30a86bdeefebf4fc260afef11 (diff) |
KVM: x86 emulator: push segment override out of decode_modrm()
Let it compute modrm_seg instead, and have the caller apply it.
Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/include/asm/kvm_emulate.h')
-rw-r--r-- | arch/x86/include/asm/kvm_emulate.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h index 8762411fe9b..cbdf76722d7 100644 --- a/arch/x86/include/asm/kvm_emulate.h +++ b/arch/x86/include/asm/kvm_emulate.h @@ -198,6 +198,7 @@ struct decode_cache { u8 modrm_mod; u8 modrm_reg; u8 modrm_rm; + u8 modrm_seg; u8 use_modrm_ea; bool rip_relative; unsigned long modrm_ea; |