aboutsummaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2008-12-04 11:11:40 +0000
committerAvi Kivity <avi@redhat.com>2008-12-31 16:55:43 +0200
commitfbce554e940a983d005e29849636d0ef54b3eb18 (patch)
tree6fc8c515cdcff55c00252d0cd19fdee4d47bec9d /arch
parentKVM: x86 emulator: add the emulation of shld and shrd instructions (diff)
downloadlinux-dev-fbce554e940a983d005e29849636d0ef54b3eb18.tar.xz
linux-dev-fbce554e940a983d005e29849636d0ef54b3eb18.zip
KVM: x86 emulator: Fix handling of VMMCALL instruction
The VMMCALL instruction doesn't get recognised and isn't processed by the emulator. This is seen on an Intel host that tries to execute the VMMCALL instruction after a guest live migrates from an AMD host. Signed-off-by: Amit Shah <amit.shah@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/kvm/x86_emulate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/x86_emulate.c b/arch/x86/kvm/x86_emulate.c
index 219dc3110bf1..d174db7a3370 100644
--- a/arch/x86/kvm/x86_emulate.c
+++ b/arch/x86/kvm/x86_emulate.c
@@ -311,7 +311,7 @@ static u32 group_table[] = {
static u32 group2_table[] = {
[Group7*8] =
- SrcNone | ModRM, 0, 0, 0,
+ SrcNone | ModRM, 0, 0, SrcNone | ModRM,
SrcNone | ModRM | DstMem | Mov, 0,
SrcMem16 | ModRM | Mov, 0,
};