qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH-V2] [virtio-9p] Flush the debug message out to t


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH-V2] [virtio-9p] Flush the debug message out to the log file.
Date: Tue, 22 Jun 2010 20:46:46 -0500
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Lightning/1.0b1 Thunderbird/3.0.4

On 06/02/2010 10:24 AM, Venkateswararao Jujjuri (JV) wrote:
This patch fluesh the debug messages to the log file  at the end of each
debug message.

Changes from V1:
Used fflush instead fseek for the flush.

Signed-off-by: Venkateswararao Jujjuri<address@hidden>

Applied.  Thanks.

Regards,

Anthony Liguori
---
  hw/virtio-9p-debug.c |    2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/hw/virtio-9p-debug.c b/hw/virtio-9p-debug.c
index 2fb2673..e4ab4bc 100644
--- a/hw/virtio-9p-debug.c
+++ b/hw/virtio-9p-debug.c
@@ -481,4 +481,6 @@ void pprint_pdu(V9fsPDU *pdu)
      }

      fprintf(llogfile, ")\n");
+    /* Flush the log message out */
+    fflush(llogfile);
  }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]