summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2015-02-10 18:25:44 +0100
committerAlex Williamson2015-02-10 18:25:44 +0100
commitbc5baffa3554e4c0d20c1dbe879aec931866bd69 (patch)
tree29739d1291ad1ec62f9c831eaa230bf5a8ab7089
parentvfio: Use vfio type1 v2 IOMMU interface (diff)
downloadqemu-bc5baffa3554e4c0d20c1dbe879aec931866bd69.tar.gz
qemu-bc5baffa3554e4c0d20c1dbe879aec931866bd69.tar.xz
qemu-bc5baffa3554e4c0d20c1dbe879aec931866bd69.zip
vfio: Fix debug message compile error
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>
-rw-r--r--hw/vfio/pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/vfio/pci.c b/hw/vfio/pci.c
index fa6a5e9268..84e9d995aa 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) {