KVM: Move KVM_IRQ_LINE to arch-generic code
authorChristoffer Dall <c.dall@virtualopensystems.com>
Tue, 24 Jul 2012 12:51:20 +0000 (08:51 -0400)
committerAvi Kivity <avi@redhat.com>
Thu, 26 Jul 2012 09:23:25 +0000 (12:23 +0300)
commit23d43cf998275bc97437931c0cdee1df2c1aa3ca
treecc1a76fefb98f66e7807d54049ddaf008db055ac
parent99245b507dc3b1b2815d6a6cb4e94a6b7018a24b
KVM: Move KVM_IRQ_LINE to arch-generic code

Handle KVM_IRQ_LINE and KVM_IRQ_LINE_STATUS in the generic
kvm_vm_ioctl() function and call into kvm_vm_ioctl_irq_line().

This is even more relevant when KVM/ARM also uses this ioctl.

Signed-off-by: Christoffer Dall <c.dall@virtualopensystems.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/ia64/kvm/kvm-ia64.c
arch/x86/kvm/x86.c
include/linux/kvm_host.h
virt/kvm/kvm_main.c