|
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.
[Prev in Thread] | Current Thread | [Next in Thread] |