]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit - arch/powerpc/kvm/powerpc.c
KVM: PPC: Allow userspace to unset the IRQ line
authorAlexander Graf <agraf@suse.de>
Wed, 24 Mar 2010 20:48:18 +0000 (21:48 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 17 May 2010 09:16:51 +0000 (12:16 +0300)
commit18978768d89f638165646718c50ced19f2a10164
tree024cb2b334769c0526fe8bf9cc4e221ddaa8ea34
parent3eeafd7da2b0293b512abe95c86843fc4ab42add
KVM: PPC: Allow userspace to unset the IRQ line

Userspace can tell us that it wants to trigger an interrupt. But
so far it can't tell us that it wants to stop triggering one.

So let's interpret the parameter to the ioctl that we have anyways
to tell us if we want to raise or lower the interrupt line.

Signed-off-by: Alexander Graf <agraf@suse.de>
v2 -> v3:

 - Add CAP for unset irq
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/powerpc/include/asm/kvm.h
arch/powerpc/include/asm/kvm_ppc.h
arch/powerpc/kvm/book3s.c
arch/powerpc/kvm/powerpc.c
include/linux/kvm.h