qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v5 2/9] dump: Add API to write header of flatten


From: Stefan Hajnoczi
Subject: Re: [Qemu-devel] [PATCH v5 2/9] dump: Add API to write header of flatten format
Date: Tue, 16 Jul 2013 10:06:44 +0800
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jul 09, 2013 at 03:30:07PM +0800, Qiao Nuohan wrote:
> +static int write_start_flat_header(int fd)
> +{
> +    char buf[MAX_SIZE_MDF_HEADER];
> +    MakedumpfileHeader mh;

Why is buf[] necessary?  You can write mh directly.



reply via email to

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