]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
vmstate: add subsections code
authorJuan Quintela <quintela@redhat.com>
Mon, 26 Jul 2010 19:38:43 +0000 (21:38 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 26 Jul 2010 21:19:51 +0000 (16:19 -0500)
commit811814bd2859ff272320f0c5765b0605f90ce7b3
tree375e788793249a501508d3084a881da4d139befc
parent57338424aa6808c65b85c43ec66f9c88a01c559e
vmstate: add subsections code

This commit adds subsections for each device section.
Subsections is the way to handle information that don't need to be sent
to de destination of a migration because its values are not needed.  It is
the way to handle optional information.  Notice that only the source can
decide if the information is optional or not.  The destination needs to
understand all subsections that it receives to have a sucessful load.

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