commit | 2b3d2a206037b1471de6a6dc51427af034cfdb47 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Dec 23 19:46:01 2008 +0200 |
committer | Avi Kivity <avi@redhat.com> | Tue Mar 24 11:02:51 2009 +0200 |
tree | e90379964dff6ff8d578b7f8401dfb3b05ff6111 | |
parent | e2078318042569682d0496cfd7bd962a766e82b1 [diff] |
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: Avi Kivity <avi@redhat.com>