Re: [Qemu-devel] [RFC PATCH v3 1/6] QEMUSizedBuffer/QEMUFile

2014-08-11 Thread Stefan Berger
On 08/11/2014 02:47 PM, Dr. David Alan Gilbert wrote: * Gonglei (Arei) (arei.gong...@huawei.com) wrote: +/** + * Grow the QEMUSizedBuffer to the given size and allocated + * memory for it. + * + * @qsb: A QEMUSizedBuffer + * @new_size: The new size of the buffer + * + * Returns an error code

Re: [Qemu-devel] [RFC PATCH v3 1/6] QEMUSizedBuffer/QEMUFile

2014-08-11 Thread Dr. David Alan Gilbert
* Gonglei (Arei) (arei.gong...@huawei.com) wrote: > > +/** > > + * Grow the QEMUSizedBuffer to the given size and allocated > > + * memory for it. > > + * > > + * @qsb: A QEMUSizedBuffer > > + * @new_size: The new size of the buffer > > + * > > + * Returns an error code in case of memory allocat

Re: [Qemu-devel] [RFC PATCH v3 1/6] QEMUSizedBuffer/QEMUFile

2014-08-11 Thread Eric Blake
On 08/09/2014 12:26 AM, Sanidhya Kashyap wrote: > From: "Dr. David Alan Gilbert" > > Stefan Berger's to create a QEMUFile that goes to a memory buffer; > from: > > http://lists.gnu.org/archive/html/qemu-devel/2013-03/msg05036.html > > Using the QEMUFile interface, this patch adds support functi

Re: [Qemu-devel] [RFC PATCH v3 1/6] QEMUSizedBuffer/QEMUFile

2014-08-10 Thread Gonglei (Arei)
Schopp; Stefan Berger; Dr. David Alan Gilbert; Juan > Quintela > Subject: [Qemu-devel] [RFC PATCH v3 1/6] QEMUSizedBuffer/QEMUFile > > From: "Dr. David Alan Gilbert" > > Stefan Berger's to create a QEMUFile that goes to a memory buffer; > from: > > htt

[Qemu-devel] [RFC PATCH v3 1/6] QEMUSizedBuffer/QEMUFile

2014-08-08 Thread Sanidhya Kashyap
From: "Dr. David Alan Gilbert" Stefan Berger's to create a QEMUFile that goes to a memory buffer; from: http://lists.gnu.org/archive/html/qemu-devel/2013-03/msg05036.html Using the QEMUFile interface, this patch adds support functions for operating on in-memory sized buffers that can be written