diff options
author | Christoffer Dall <c.dall@virtualopensystems.com> | 2012-07-24 14:51:20 +0200 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2012-07-26 11:23:25 +0200 |
commit | 23d43cf998275bc97437931c0cdee1df2c1aa3ca (patch) | |
tree | cc1a76fefb98f66e7807d54049ddaf008db055ac /include | |
parent | KVM: x86 emulator: drop unneeded call to get_segment() (diff) | |
download | linux-23d43cf998275bc97437931c0cdee1df2c1aa3ca.tar.xz linux-23d43cf998275bc97437931c0cdee1df2c1aa3ca.zip |
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, 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); |