Skip to content
Commit 2b3d2a20 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Fix vmload and friends misinterpreted as lidt



The AMD SVM instruction family all overload the 0f 01 /3 opcode, further
multiplexing on the three r/m bits.  But the code decided that anything that
isn't a vmmcall must be an lidt (which shares the 0f 01 /3 opcode, for the
case that mod = 3).

Fix by aborting emulation if this isn't a vmmcall.

Signed-off-by: default avatarAvi Kivity <avi@redhat.com>
parent e2078318
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment