diff mbox

[PULL,6/6] vfio: Fix debug message compile error

Message ID 20150210183745.26101.22720.stgit@gimli.home
State New
Headers show

Commit Message

Alex Williamson Feb. 10, 2015, 6:37 p.m. UTC
From: Alexey Kardashevskiy <aik@ozlabs.ru>

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 |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index fa6a5e9..84e9d99 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -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) {