Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311671
b: refs/heads/master
c: 326cf03
h: refs/heads/master
i:
  311669: becef0f
  311667: 488aaee
  311663: 1d6c950
v: v3
  • Loading branch information
Alex Williamson authored and Marcelo Tosatti committed Jul 3, 2012
1 parent 3a4ed02 commit a4828a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f36992e31284131a978d07bb14e582ce67b46b64
refs/heads/master: 326cf0334bacfdf43039cf75997a022b9e51535d
3 changes: 3 additions & 0 deletions trunk/virt/kvm/eventfd.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,9 @@ kvm_irqfd_deassign(struct kvm *kvm, struct kvm_irqfd *args)
int
kvm_irqfd(struct kvm *kvm, struct kvm_irqfd *args)
{
if (args->flags & ~KVM_IRQFD_FLAG_DEASSIGN)
return -EINVAL;

if (args->flags & KVM_IRQFD_FLAG_DEASSIGN)
return kvm_irqfd_deassign(kvm, args);

Expand Down

0 comments on commit a4828a6

Please sign in to comment.