Re: [Qemu-devel] [PATCH V3 1/5] vmstate: introduce get_bufsize entry in VMStateField

2012-01-19 Thread Andreas Färber
Am 28.12.2011 16:32, schrieb Mitsyanko Igor: > New get_bufsize field in VMStateField is supposed to help us easily add > save/restore > support of dynamically allocated buffers in device's states. > There are some cases when information about size of dynamically allocated > buffer is > already pr

[Qemu-devel] [PATCH V3 1/5] vmstate: introduce get_bufsize entry in VMStateField

2011-12-28 Thread Mitsyanko Igor
New get_bufsize field in VMStateField is supposed to help us easily add save/restore support of dynamically allocated buffers in device's states. There are some cases when information about size of dynamically allocated buffer is already presented in specific device's state structure, but in such