From: Avi Kivity Date: Sun, 10 Jun 2012 15:07:57 +0000 (+0300) Subject: KVM: VMX: Fix interrupt exit condition during emulation X-Git-Tag: v3.6-rc1~124^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdea48e305389b3c8c0f786a317f9da984c16604;p=pandora-kernel.git KVM: VMX: Fix interrupt exit condition during emulation Checking EFLAGS.IF is incorrect as we might be in interrupt shadow. If that is the case, the main loop will notice that and not inject the interrupt, causing an endless loop. Fix by using vmx_interrupt_allowed() to check if we can inject an interrupt instead. Signed-off-by: Avi Kivity --- Reading git-diff-tree failed