qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] [virtio-9p] Flush the debug message out to the log


From: Venkateswararao Jujjuri (JV)
Subject: [Qemu-devel] [PATCH] [virtio-9p] Flush the debug message out to the log file.
Date: Tue, 1 Jun 2010 13:23:09 -0700

This patch fluesh the debug messages to the log file  at the end of each
debug message.

Signed-off-by: Venkateswararao Jujjuri <address@hidden>
---
 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..5bfa689 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 */
+    fseek(llogfile, 0L, SEEK_CUR);
 }
-- 
1.6.5.2




reply via email to

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