kernel-hacking-2024-linux-s.../arch/x86/kvm
Avi Kivity cb16c34876 KVM: x86 emulator: fix %rip-relative addressing with immediate source operand
%rip-relative addressing is relative to the first byte of the next instruction,
so we need to add %rip only after we've fetched any immediate bytes.

Based on original patch by Li Xin <xin.li@intel.com>.

Signed-off-by: Avi Kivity <avi@redhat.com>
Acked-by: Li Xin <xin.li@intel.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
2011-06-29 10:09:25 +03:00
..
emulate.c KVM: x86 emulator: fix %rip-relative addressing with immediate source operand 2011-06-29 10:09:25 +03:00
i8254.c
i8254.h KVM: remove useless function declaration kvm_inject_pit_timer_irqs() 2011-05-11 07:57:09 -04:00
i8259.c
irq.c
irq.h KVM: remove useless function declarations from file arch/x86/kvm/irq.h 2011-05-11 07:57:09 -04:00
Kconfig
kvm_cache_regs.h
kvm_timer.h
lapic.c
lapic.h
Makefile
mmu.c KVM: MMU: fix opposite condition in mapping_level_dirty_bitmap 2011-06-19 19:23:13 +03:00
mmu.h
mmu_audit.c
mmutrace.h
paging_tmpl.h KVM: MMU: Fix build warnings in walk_addr_generic() 2011-06-19 19:23:13 +03:00
svm.c KVM: SVM: Make dump_vmcb static, reduce text 2011-05-22 08:40:00 -04:00
timer.c
trace.h
tss.h
vmx.c KVM: VMX: do not overwrite uptodate vcpu->arch.cr3 on KVM_SET_SREGS 2011-06-19 19:23:13 +03:00
x86.c KVM: x86 emulator: consolidate segment accessors 2011-05-22 08:47:39 -04:00
x86.h KVM: fix push of wrong eip when doing softint 2011-05-11 07:57:09 -04:00