[Qemu-devel] [PATCH] vfio: correct debug macro typo

2014-01-28 Thread Bandan Das

Change to VFIO_DEBUG in vfio_msi_interrupt() for debug
messages to get printed

Signed-off-by: Bandan Das b...@redhat.com
---
 hw/misc/vfio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c
index 9aecaa8..a87078c 100644
--- a/hw/misc/vfio.c
+++ b/hw/misc/vfio.c
@@ -592,7 +592,7 @@ static void vfio_msi_interrupt(void *opaque)
 return;
 }
 
-#ifdef VFIO_DEBUG
+#ifdef DEBUG_VFIO
 MSIMessage msg;
 
 if (vdev-interrupt == VFIO_INT_MSIX) {
-- 
1.8.3.1




Re: [Qemu-devel] [PATCH] vfio: correct debug macro typo

2014-01-28 Thread Alex Williamson
On Tue, 2014-01-28 at 14:21 +0530, Bandan Das wrote:
 Change to VFIO_DEBUG in vfio_msi_interrupt() for debug
 messages to get printed
 
 Signed-off-by: Bandan Das b...@redhat.com
 ---
  hw/misc/vfio.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c
 index 9aecaa8..a87078c 100644
 --- a/hw/misc/vfio.c
 +++ b/hw/misc/vfio.c
 @@ -592,7 +592,7 @@ static void vfio_msi_interrupt(void *opaque)
  return;
  }
  
 -#ifdef VFIO_DEBUG
 +#ifdef DEBUG_VFIO
  MSIMessage msg;
  
  if (vdev-interrupt == VFIO_INT_MSIX) {

Oops.  Applied, thanks!