qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] vfio: correct debug macro typo
@ 2014-01-28  8:51 Bandan Das
  2014-01-28 15:30 ` Alex Williamson
  0 siblings, 1 reply; 2+ messages in thread
From: Bandan Das @ 2014-01-28  8:51 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Williamson


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

Signed-off-by: Bandan Das <bsd@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

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

* Re: [Qemu-devel] [PATCH] vfio: correct debug macro typo
  2014-01-28  8:51 [Qemu-devel] [PATCH] vfio: correct debug macro typo Bandan Das
@ 2014-01-28 15:30 ` Alex Williamson
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Williamson @ 2014-01-28 15:30 UTC (permalink / raw)
  To: Bandan Das; +Cc: qemu-devel

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 <bsd@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!

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

end of thread, other threads:[~2014-01-28 15:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-28  8:51 [Qemu-devel] [PATCH] vfio: correct debug macro typo Bandan Das
2014-01-28 15:30 ` 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).