From: Jan Kiszka Date: Fri, 26 Sep 2008 07:30:50 +0000 (+0200) Subject: KVM: VMX: refactor IRQ and NMI window enabling X-Git-Tag: v2.6.29-rc1~539^2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f460ee43e250b675376246b1c4c9fe9b9af4ab16;p=pandora-kernel.git KVM: VMX: refactor IRQ and NMI window enabling do_interrupt_requests and vmx_intr_assist go different way for achieving the same: enabling the nmi/irq window start notification. Unify their code over enable_{irq|nmi}_window, get rid of a redundant call to enable_intr_window instead of direct enable_nmi_window invocation and unroll enable_intr_window for both in-kernel and user space irq injection accordingly. Signed-off-by: Jan Kiszka Signed-off-by: Avi Kivity --- Reading git-diff-tree failed