From: Glauber Costa Date: Tue, 12 May 2009 20:21:06 +0000 (-0400) Subject: KVM: Deal with interrupt shadow state for emulated instructions X-Git-Tag: v2.6.31-rc1~393^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=310b5d306c1aee7ebe32f702c0e33e7988d50646;p=pandora-kernel.git KVM: Deal with interrupt shadow state for emulated instructions We currently unblock shadow interrupt state when we skip an instruction, but failing to do so when we actually emulate one. This blocks interrupts in key instruction blocks, in particular sti; hlt; sequences If the instruction emulated is an sti, we have to block shadow interrupts. The same goes for mov ss. pop ss also needs it, but we don't currently emulate it. Without this patch, I cannot boot gpxe option roms at vmx machines. This is described at https://bugzilla.redhat.com/show_bug.cgi?id=494469 Signed-off-by: Glauber Costa CC: H. Peter Anvin CC: Gleb Natapov Signed-off-by: Avi Kivity --- Reading git-diff-tree failed