diff options
author | Alexander Graf <agraf@suse.de> | 2010-03-24 16:48:18 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2010-05-17 05:16:51 -0400 |
commit | 18978768d89f638165646718c50ced19f2a10164 (patch) | |
tree | 024cb2b334769c0526fe8bf9cc4e221ddaa8ea34 /include/linux/kvm.h | |
parent | 3eeafd7da2b0293b512abe95c86843fc4ab42add (diff) |
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>
Diffstat (limited to 'include/linux/kvm.h')
-rw-r--r-- | include/linux/kvm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/kvm.h b/include/linux/kvm.h index ce2876717a8b..c36d093e9806 100644 --- a/include/linux/kvm.h +++ b/include/linux/kvm.h | |||
@@ -507,6 +507,7 @@ struct kvm_ioeventfd { | |||
507 | #define KVM_CAP_DEBUGREGS 50 | 507 | #define KVM_CAP_DEBUGREGS 50 |
508 | #endif | 508 | #endif |
509 | #define KVM_CAP_X86_ROBUST_SINGLESTEP 51 | 509 | #define KVM_CAP_X86_ROBUST_SINGLESTEP 51 |
510 | #define KVM_CAP_PPC_UNSET_IRQ 53 | ||
510 | 511 | ||
511 | #ifdef KVM_CAP_IRQ_ROUTING | 512 | #ifdef KVM_CAP_IRQ_ROUTING |
512 | 513 | ||