projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
91ca60e
)
Flush the debug message out to the log file.
author
Venkateswararao Jujjuri (JV)
<jvrao@linux.vnet.ibm.com>
Wed, 2 Jun 2010 15:24:59 +0000
(08:24 -0700)
committer
Anthony Liguori
<aliguori@us.ibm.com>
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 <jvrao@linux.vnet.ibm.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/virtio-9p-debug.c
patch
|
blob
|
history
diff --git
a/hw/virtio-9p-debug.c
b/hw/virtio-9p-debug.c
index 2fb2673d93c384ca91e9d7b0450456b1104bb417..e4ab4bca5f13e9cb176f98f38cbcbe05b8a22399 100644
(file)
--- 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);
}