KVM: Use kvm_arch_interrupt_allowed() instead of checking interrupt_window_open directly
commit5df56646472c42495dd2412c8d8aa72e59efe79a
authorGleb Natapov <gleb@redhat.com>
Tue, 21 Apr 2009 14:44:59 +0000 (21 17:44 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:46 +0000 (10 11:48 +0300)
tree3284be6ed8ef8d0f9e9bcfef9cd428c866ce71a3
parent1f21e79aaced0a041e9399346960ce26ae0f5a4e
KVM: Use kvm_arch_interrupt_allowed() instead of checking interrupt_window_open directly

kvm_arch_interrupt_allowed() also checks IF so drop the check.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c