Re: [Qemu-devel] [PATCH 03/17] savevm: Implement VMS_DIVIDE flag

2013-07-09 Thread Anthony Liguori
David Gibson writes: > On Mon, Jul 08, 2013 at 01:27:05PM -0500, Anthony Liguori wrote: >> Alexey Kardashevskiy writes: >> >> > From: David Gibson >> > >> > The vmstate infrastructure includes a VMS_MULTIPY flag, and associated >> > VMSTATE_VBUFFER_MULTIPLY helper macro. These can be used to

Re: [Qemu-devel] [PATCH 03/17] savevm: Implement VMS_DIVIDE flag

2013-07-09 Thread David Gibson
On Tue, Jul 09, 2013 at 09:06:21AM -0500, Anthony Liguori wrote: > David Gibson writes: > > > On Mon, Jul 08, 2013 at 01:27:05PM -0500, Anthony Liguori wrote: > >> Alexey Kardashevskiy writes: > >> > >> > From: David Gibson > >> > > >> > The vmstate infrastructure includes a VMS_MULTIPY flag,

Re: [Qemu-devel] [PATCH 03/17] savevm: Implement VMS_DIVIDE flag

2013-07-08 Thread David Gibson
On Mon, Jul 08, 2013 at 01:27:05PM -0500, Anthony Liguori wrote: > Alexey Kardashevskiy writes: > > > From: David Gibson > > > > The vmstate infrastructure includes a VMS_MULTIPY flag, and associated > > VMSTATE_VBUFFER_MULTIPLY helper macro. These can be used to save a > > variably sized buffe

Re: [Qemu-devel] [PATCH 03/17] savevm: Implement VMS_DIVIDE flag

2013-07-08 Thread Anthony Liguori
Alexey Kardashevskiy writes: > From: David Gibson > > The vmstate infrastructure includes a VMS_MULTIPY flag, and associated > VMSTATE_VBUFFER_MULTIPLY helper macro. These can be used to save a > variably sized buffer where the size in bytes of the buffer isn't directly > accessible as a struct

[Qemu-devel] [PATCH 03/17] savevm: Implement VMS_DIVIDE flag

2013-06-26 Thread Alexey Kardashevskiy
From: David Gibson The vmstate infrastructure includes a VMS_MULTIPY flag, and associated VMSTATE_VBUFFER_MULTIPLY helper macro. These can be used to save a variably sized buffer where the size in bytes of the buffer isn't directly accessible as a structure field, but an element count from which