mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-27 17:11:46 +00:00
KVM: Pass kvm_irqfd to functions
Prune this down to just the struct kvm_irqfd so we can avoid changing function definition for every flag or field we use. Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Acked-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
This commit is contained in:
parent
ca24a14557
commit
d4db2935e4
3 changed files with 13 additions and 13 deletions
|
@ -2047,7 +2047,7 @@ static long kvm_vm_ioctl(struct file *filp,
|
|||
r = -EFAULT;
|
||||
if (copy_from_user(&data, argp, sizeof data))
|
||||
goto out;
|
||||
r = kvm_irqfd(kvm, data.fd, data.gsi, data.flags);
|
||||
r = kvm_irqfd(kvm, &data);
|
||||
break;
|
||||
}
|
||||
case KVM_IOEVENTFD: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue