vfio: Fix debug message compile error
PATCH 1/1 vfio: Fix debug message compile error
This fixes a compiler error which occurs if DEBUG_VFIO is defined.
Signed-off-by Alexey Kardashevskiy <[email protected]>
--- hw/vfio/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/vfio/pci.c +1 -1
@@ -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 ) {
Signature · 1 line
2.0.0
Hi Alexey,
Thanks for pointing that issue.
Best Regards
Eric
Quoted 21 lines · Alexey Kardashevskiy
This fixes a compiler error which occurs if
DEBUG_VFIOis defined.Signed-off-by Alexey Kardashevskiy <[email protected]>--- hw/vfio/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/vfio/pci.c +1
-1@@ -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 ) {
Alex Williamson
AppliedQuoted 12 lines · Alexey Kardashevskiy
This fixes a compiler error which occurs if
DEBUG_VFIOis defined.Signed-off-by Alexey Kardashevskiy <[email protected]>--- hw/vfio/pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)hw/vfio/pci.c +0
-0
hw/vfio/pci.c static void vfio_msi_interrupt(void *opaque) · line 523
Quoted 8 lines
hw/vfio/pci.c +1
-1@@ -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 ) {
Applied, thanks!
Alex