From: Avi Kivity Date: Tue, 23 Dec 2008 17:46:01 +0000 (+0200) Subject: KVM: Fix vmload and friends misinterpreted as lidt X-Git-Tag: v2.6.30-rc1~664^2~90 X-Git-Url: http://ftp.safe.ca/?a=commitdiff_plain;h=2b3d2a206037b1471de6a6dc51427af034cfdb47;hp=2b3d2a206037b1471de6a6dc51427af034cfdb47;p=safe%2Fjmp%2Flinux-2.6 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 ---