]> git.proxmox.com Git - mirror_qemu.git/commitdiff
vfio: Fix debug message compile error
authorAlexey Kardashevskiy <aik@ozlabs.ru>
Tue, 10 Feb 2015 17:25:44 +0000 (10:25 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Tue, 10 Feb 2015 17:25:44 +0000 (10:25 -0700)
This fixes a compiler error which occurs if DEBUG_VFIO is defined.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/vfio/pci.c

index fa6a5e92687ff4e8f66336a844d2fc873ec7b8b3..84e9d995aaf0ac4ab11ae84e1c67223db1412a1e 100644 (file)
@@ -516,7 +516,7 @@ static void vfio_msi_interrupt(void *opaque)
         abort();
     }
 
-    trace_vfio_msi_interrupt(vbasedev->name, nr, msg.address, msg.data);
+    trace_vfio_msi_interrupt(vdev->vbasedev.name, nr, msg.address, msg.data);
 #endif
 
     if (vdev->interrupt == VFIO_INT_MSIX) {