Flush the debug message out to the log file.
PATCH v2 1/1 Flush the debug message out to the log file.
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]>
--- hw/virtio-9p-debug.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
hw/virtio-9p-debug.c +2 -0
@@ -481,4 +481,6 @@ void pprint_pdu(V9fsPDU *pdu) }fprintf (llogfile,")\n" ); +/* Flush the log message out */ +fflush (llogfile); }
Signature · 1 line
1.6.5.2
Anthony Liguori
AppliedQuoted 8 lines · Venkateswararao Jujjuri (JV)
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]>
Applied. Thanks.
Regards,
Anthony Liguori
Quoted 16 lines
--- hw/virtio-9p-debug.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)hw/virtio-9p-debug.c +2
-0@@ -481,4 +481,6 @@ void pprint_pdu(V9fsPDU *pdu) }fprintf (llogfile,")\n" ); +/* Flush the log message out */ +fflush (llogfile); }