diff options
author | Avi Kivity <avi@redhat.com> | 2011-09-13 03:45:40 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-09-25 12:52:47 -0400 |
commit | f09ed83e211d253809e575e05bd4de1e335c0cb2 (patch) | |
tree | bb769d8d7375b457e70adadb121663af43186561 /arch/x86/include | |
parent | 3329ece161ad65ea31d825720e270f3a79ebba92 (diff) |
KVM: x86 emulator: move memop, memopp into emulation context
Simplifies further generalization of decode.
Signed-off-by: Avi Kivity <avi@redhat.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Diffstat (limited to 'arch/x86/include')
-rw-r--r-- | arch/x86/include/asm/kvm_emulate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h index 6040d115ef51..56bac3e3423e 100644 --- a/arch/x86/include/asm/kvm_emulate.h +++ b/arch/x86/include/asm/kvm_emulate.h | |||
@@ -275,6 +275,8 @@ struct x86_emulate_ctxt { | |||
275 | unsigned long _eip; | 275 | unsigned long _eip; |
276 | /* Fields above regs are cleared together. */ | 276 | /* Fields above regs are cleared together. */ |
277 | unsigned long regs[NR_VCPU_REGS]; | 277 | unsigned long regs[NR_VCPU_REGS]; |
278 | struct operand memop; | ||
279 | struct operand *memopp; | ||
278 | struct fetch_cache fetch; | 280 | struct fetch_cache fetch; |
279 | struct read_cache io_read; | 281 | struct read_cache io_read; |
280 | struct read_cache mem_read; | 282 | struct read_cache mem_read; |