Re: [Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-27 Thread mdroth
On Wed, Feb 27, 2013 at 03:56:27PM -0600, mdroth wrote: > On Wed, Feb 27, 2013 at 08:46:19AM -0500, Stefan Berger wrote: > > On 02/26/2013 09:19 PM, Anthony Liguori wrote: > > >jsch...@linux.vnet.ibm.com writes: > > > > > >I think we've moved away from using qemu-file for anything other than > > >m

Re: [Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-27 Thread mdroth
On Wed, Feb 27, 2013 at 08:46:19AM -0500, Stefan Berger wrote: > On 02/26/2013 09:19 PM, Anthony Liguori wrote: > >jsch...@linux.vnet.ibm.com writes: > > > >I think we've moved away from using qemu-file for anything other than > >migration. > > Our goal was to use the abstraction of a QEMUFile for

Re: [Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-27 Thread Stefan Berger
On 02/26/2013 09:19 PM, Anthony Liguori wrote: jsch...@linux.vnet.ibm.com writes: I think we've moved away from using qemu-file for anything other than migration. Our goal was to use the abstraction of a QEMUFile for writing into memory buffers and later on to also provide a wrapper for writi

Re: [Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-26 Thread Joel Schopp
Not sure how you sent this but it's not threaded properly and the diffs aren't git diffs. Please use git-send-email. I used quilt mail. I apologize for the improper threading. I'll switch over to git-send-email in the future. +int qemu_write_bytes(QEMUFile *f, const uint8_t *buf, int si

Re: [Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-26 Thread Anthony Liguori
jsch...@linux.vnet.ibm.com writes: > These patches implement asn1 ber visitors for encoding and decoding data. > References: <20130226230354.982917...@linux.vnet.ibm.com> > Content-Disposition: inline; filename=qemu_file_bits.diff Not sure how you sent this but it's not threaded properly and the

[Qemu-devel] [PATCH 1/3] two new file wrappers

2013-02-26 Thread jschopp
These patches implement asn1 ber visitors for encoding and decoding data. References: <20130226230354.982917...@linux.vnet.ibm.com> Content-Disposition: inline; filename=qemu_file_bits.diff Signed-off-by: Stefan Berger Signed-off-by: Joel Schopp --- include/migration/qemu-file.h |4 qe