From bc5baffa3554e4c0d20c1dbe879aec931866bd69 Mon Sep 17 00:00:00 2001 From: Alexey Kardashevskiy Date: Tue, 10 Feb 2015 10:25:44 -0700 Subject: [PATCH] vfio: Fix debug message compile error This fixes a compiler error which occurs if DEBUG_VFIO is defined. Signed-off-by: Alexey Kardashevskiy Signed-off-by: Alex Williamson --- hw/vfio/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.7.4