KVM: Get rid of get_irq() callback
authorGleb Natapov <gleb@redhat.com>
Tue, 21 Apr 2009 14:45:11 +0000 (17:45 +0300)
committerAvi Kivity <avi@redhat.com>
Wed, 10 Jun 2009 08:48:49 +0000 (11:48 +0300)
commit14d0bc1f7c8226d5088e7182c3b53e0c7e91d1af
tree021a440648ed2117a33a4c8c1bcc91dcb22311cf
parent16d7a191170f0ca48c2c3277017b3e6d275e0711
KVM: Get rid of get_irq() callback

It just returns pending IRQ vector from the queue for VMX/SVM.
Get IRQ directly from the queue before migration and put it back
after.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/svm.c
arch/x86/kvm/vmx.c
arch/x86/kvm/x86.c