From: Anthony Liguori <anthony@codemonkey.ws>
To: "Venkateswararao Jujjuri (JV)" <jvrao@linux.vnet.ibm.com>
Cc: v9fs-developer@lists.sourceforge.net, aliguori@us.ibm.com,
qemu-devel@nongnu.org
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 [thread overview]
Message-ID: <4C216786.2020905@codemonkey.ws> (raw)
In-Reply-To: <1275492299-22617-1-git-send-email-jvrao@linux.vnet.ibm.com>
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<jvrao@linux.vnet.ibm.com>
>
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);
> }
>
prev parent reply other threads:[~2010-06-23 1:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-02 15:24 [Qemu-devel] [PATCH-V2] [virtio-9p] Flush the debug message out to the log file Venkateswararao Jujjuri (JV)
2010-06-23 1:46 ` Anthony Liguori [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4C216786.2020905@codemonkey.ws \
--to=anthony@codemonkey.ws \
--cc=aliguori@us.ibm.com \
--cc=jvrao@linux.vnet.ibm.com \
--cc=qemu-devel@nongnu.org \
--cc=v9fs-developer@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).