virtio-pci: fix irqfd cleanup argument order
commite387f99ebc5753ebb5b7602d86e44d064873f83c
authorMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Jan 2013 17:42:38 +0000 (15 19:42 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 17 Jan 2013 15:45:52 +0000 (17 09:45 -0600)
tree0527a82b821aac69954bf8331c54f87dfb4be0cd
parent782beb5239c6306b166744e03478a75afb649811
virtio-pci: fix irqfd cleanup argument order

Order of arguments of kvm_virtio_pci_irqfd_release
got mixed up in all calls.
As a result users see assertions during cleanup.

Reported-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Tested-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-pci.c