diff options
author | Christoffer Dall <c.dall@virtualopensystems.com> | 2012-07-24 08:51:20 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-26 12:23:25 +0300 |
commit | 23d43cf998275bc97437931c0cdee1df2c1aa3ca (patch) | |
tree | cc1a76fefb98f66e7807d54049ddaf008db055ac /include/linux/kvm_host.h | |
parent | 99245b507dc3b1b2815d6a6cb4e94a6b7018a24b (diff) |
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>
Diffstat (limited to 'include/linux/kvm_host.h')
-rw-r--r-- | include/linux/kvm_host.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm_host.h b/include/linux/kvm_host.h index 4e60d3695e4e..dbc65f9d6a2b 100644 --- a/include/linux/kvm_host.h +++ b/include/linux/kvm_host.h @@ -498,6 +498,7 @@ int kvm_vm_ioctl_set_memory_region(struct kvm *kvm, struct kvm_userspace_memory_region *mem, int user_alloc); +int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_level); long kvm_arch_vm_ioctl(struct file *filp, unsigned int ioctl, unsigned long arg); |