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 da...@gibson.dropbear.id.au writes: On Mon, Jul 08, 2013 at 01:27:05PM -0500, Anthony Liguori wrote: Alexey Kardashevskiy a...@ozlabs.ru writes: From: David Gibson da...@gibson.dropbear.id.au The

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

2013-07-09 Thread Anthony Liguori
David Gibson da...@gibson.dropbear.id.au writes: On Mon, Jul 08, 2013 at 01:27:05PM -0500, Anthony Liguori wrote: Alexey Kardashevskiy a...@ozlabs.ru writes: From: David Gibson da...@gibson.dropbear.id.au The vmstate infrastructure includes a VMS_MULTIPY flag, and associated

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

2013-07-08 Thread Anthony Liguori
Alexey Kardashevskiy a...@ozlabs.ru writes: From: David Gibson da...@gibson.dropbear.id.au 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

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 a...@ozlabs.ru writes: From: David Gibson da...@gibson.dropbear.id.au The vmstate infrastructure includes a VMS_MULTIPY flag, and associated VMSTATE_VBUFFER_MULTIPLY helper macro. These can be used to

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

2013-06-27 Thread Alexey Kardashevskiy
From: David Gibson da...@gibson.dropbear.id.au 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