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 05:23:25 -0400 |
| commit | 23d43cf998275bc97437931c0cdee1df2c1aa3ca (patch) | |
| tree | cc1a76fefb98f66e7807d54049ddaf008db055ac /include | |
| 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')
| -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, | |||
| 498 | struct | 498 | struct |
| 499 | kvm_userspace_memory_region *mem, | 499 | kvm_userspace_memory_region *mem, |
| 500 | int user_alloc); | 500 | int user_alloc); |
| 501 | int kvm_vm_ioctl_irq_line(struct kvm *kvm, struct kvm_irq_level *irq_level); | ||
| 501 | long kvm_arch_vm_ioctl(struct file *filp, | 502 | long kvm_arch_vm_ioctl(struct file *filp, |
| 502 | unsigned int ioctl, unsigned long arg); | 503 | unsigned int ioctl, unsigned long arg); |
| 503 | 504 | ||
