diff options
author | Nelson Elhage <nelhage@ksplice.com> | 2011-04-18 18:05:53 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-05-11 13:57:10 +0200 |
commit | 3d9b938eefb7d91a1ae13e425931bd5ac103b762 (patch) | |
tree | 96ecffc81c09cc5578a5375cb357895084b552fa /arch/x86/include/asm/kvm_emulate.h | |
parent | KVM: X86: Update last_guest_tsc in vcpu_put (diff) | |
download | linux-3d9b938eefb7d91a1ae13e425931bd5ac103b762.tar.xz linux-3d9b938eefb7d91a1ae13e425931bd5ac103b762.zip |
KVM: emulator: Use linearize() when fetching instructions
Since segments need to be handled slightly differently when fetching
instructions, we add a __linearize helper that accepts a new 'fetch' boolean.
[avi: fix oops caused by wrong segmented_address initialization order]
Signed-off-by: Nelson Elhage <nelhage@ksplice.com>
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, 0 insertions, 1 deletions
diff --git a/arch/x86/include/asm/kvm_emulate.h b/arch/x86/include/asm/kvm_emulate.h index 081844860a3d..9b760c8f2576 100644 --- a/arch/x86/include/asm/kvm_emulate.h +++ b/arch/x86/include/asm/kvm_emulate.h @@ -265,7 +265,6 @@ struct x86_emulate_ctxt { unsigned long eip; /* eip before instruction emulation */ /* Emulated execution mode, represented by an X86EMUL_MODE value. */ int mode; - u32 cs_base; /* interruptibility state, as a result of execution of STI or MOV SS */ int interruptibility; |