]> Git Repo - qemu.git/commitdiff
Flush the debug message out to the log file.
authorVenkateswararao Jujjuri (JV) <[email protected]>
Wed, 2 Jun 2010 15:24:59 +0000 (08:24 -0700)
committerAnthony Liguori <[email protected]>
Tue, 22 Jun 2010 20:15:30 +0000 (15:15 -0500)
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 <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
hw/virtio-9p-debug.c

index 2fb2673d93c384ca91e9d7b0450456b1104bb417..e4ab4bca5f13e9cb176f98f38cbcbe05b8a22399 100644 (file)
@@ -481,4 +481,6 @@ void pprint_pdu(V9fsPDU *pdu)
     }
 
     fprintf(llogfile, ")\n");
+    /* Flush the log message out */
+    fflush(llogfile);
 }
This page took 0.027551 seconds and 4 git commands to generate.