vmstate: Add support for VBUFFERS
authorJuan Quintela <quintela@redhat.com>
Wed, 2 Dec 2009 11:36:38 +0000 (12:36 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Thu, 3 Dec 2009 16:04:54 +0000 (10:04 -0600)
commitc52bfb2a91eec9b8c21e5450fb6dacfebde7485d
tree52aa322e7c1db506e1717b0ffde3f5b793cc3e28
parent0540b4da973f094fbce24248d0d147513de17d5a
vmstate: Add support for VBUFFERS

Support for buffer that are pointed by a pointer (i.e. not embedded)
where the size that we want to use is a field in the state.
We also need a new place to store where to start in the middle of the
buffer, as now it is a pointer, not the offset of the 1st field.

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/hw.h
savevm.c