diff mbox

[09/38] ivshmem: Add missing newlines to debug printfs

Message ID 1456771254-17511-10-git-send-email-armbru@redhat.com (mailing list archive)
State New, archived
Headers show

Commit Message

Markus Armbruster Feb. 29, 2016, 6:40 p.m. UTC
Signed-off-by: Markus Armbruster <armbru@redhat.com>
---
 hw/misc/ivshmem.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Comments

Marc-André Lureau March 1, 2016, 12:20 p.m. UTC | #1
On Mon, Feb 29, 2016 at 7:40 PM, Markus Armbruster <armbru@redhat.com> wrote:
> Signed-off-by: Markus Armbruster <armbru@redhat.com>
> ---

Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>


>  hw/misc/ivshmem.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
> index 48b7a34..b74b02c 100644
> --- a/hw/misc/ivshmem.c
> +++ b/hw/misc/ivshmem.c
> @@ -568,10 +568,10 @@ static void setup_interrupt(IVShmemState *s, int vector)
>      IVSHMEM_DPRINTF("setting up interrupt for vector: %d\n", vector);
>
>      if (!with_irqfd) {
> -        IVSHMEM_DPRINTF("with eventfd");
> +        IVSHMEM_DPRINTF("with eventfd\n");
>          watch_vector_notifier(s, n, vector);
>      } else if (msix_enabled(pdev)) {
> -        IVSHMEM_DPRINTF("with irqfd");
> +        IVSHMEM_DPRINTF("with irqfd\n");
>          if (ivshmem_add_kvm_msi_virq(s, vector) < 0) {
>              return;
>          }
> @@ -582,7 +582,7 @@ static void setup_interrupt(IVShmemState *s, int vector)
>          }
>      } else {
>          /* it will be delayed until msix is enabled, in write_config */
> -        IVSHMEM_DPRINTF("with irqfd, delayed until msix enabled");
> +        IVSHMEM_DPRINTF("with irqfd, delayed until msix enabled\n");
>      }
>  }
>
> --
> 2.4.3
>
>
diff mbox

Patch

diff --git a/hw/misc/ivshmem.c b/hw/misc/ivshmem.c
index 48b7a34..b74b02c 100644
--- a/hw/misc/ivshmem.c
+++ b/hw/misc/ivshmem.c
@@ -568,10 +568,10 @@  static void setup_interrupt(IVShmemState *s, int vector)
     IVSHMEM_DPRINTF("setting up interrupt for vector: %d\n", vector);
 
     if (!with_irqfd) {
-        IVSHMEM_DPRINTF("with eventfd");
+        IVSHMEM_DPRINTF("with eventfd\n");
         watch_vector_notifier(s, n, vector);
     } else if (msix_enabled(pdev)) {
-        IVSHMEM_DPRINTF("with irqfd");
+        IVSHMEM_DPRINTF("with irqfd\n");
         if (ivshmem_add_kvm_msi_virq(s, vector) < 0) {
             return;
         }
@@ -582,7 +582,7 @@  static void setup_interrupt(IVShmemState *s, int vector)
         }
     } else {
         /* it will be delayed until msix is enabled, in write_config */
-        IVSHMEM_DPRINTF("with irqfd, delayed until msix enabled");
+        IVSHMEM_DPRINTF("with irqfd, delayed until msix enabled\n");
     }
 }