qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vfio: Fix debug message compile error
@ 2015-02-10  6:14 Alexey Kardashevskiy
  2015-02-10  6:45 ` Eric Auger
  2015-02-10 18:29 ` Alex Williamson
  0 siblings, 2 replies; 3+ messages in thread
From: Alexey Kardashevskiy @ 2015-02-10  6:14 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alexey Kardashevskiy, Alex Williamson

This fixes a compiler error which occurs if DEBUG_VFIO is defined.

Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru>
---
 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 29caabc..cfc087a 100644
--- a/hw/vfio/pci.c
+++ b/hw/vfio/pci.c
@@ -517,7 +517,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.0.0

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-10 18:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-10  6:14 [Qemu-devel] [PATCH] vfio: Fix debug message compile error Alexey Kardashevskiy
2015-02-10  6:45 ` Eric Auger
2015-02-10 18:29 ` Alex Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).