From: Avi Kivity Date: Thu, 10 Jun 2010 14:02:15 +0000 (+0300) Subject: KVM: Fix mov cr4 #GP at wrong instruction X-Git-Tag: v2.6.36-rc1~580^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a83b29c6ad6d6497e569edbc29e556a384cebddd;p=pandora-kernel.git KVM: Fix mov cr4 #GP at wrong instruction On Intel, we call skip_emulated_instruction() even if we injected a #GP, resulting in the #GP pointing at the wrong address. Fix by injecting the exception and skipping the instruction at the same place, so we can do just one or the other. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed