]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86 emulator: handle "far address" source operand
authorGleb Natapov <gleb@redhat.com>
Wed, 28 Apr 2010 16:15:26 +0000 (19:15 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:35:30 +0000 (10:35 +0300)
commit8f5fd59ff1b48b7ac770126de0ec5e16119a033f
treec105f8a33e9f744695d0ffd2172f6d2a9e859258
parentfe4e6803dc731baae4f1966f0fa51de24281bcf4
KVM: x86 emulator: handle "far address" source operand

ljmp/lcall instruction operand contains address and segment.
It can be 10 bytes long. Currently we decode it as two different
operands. Fix it by introducing new kind of operand that can hold
entire far address.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_emulate.h
arch/x86/kvm/emulate.c