diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-20 19:42:25 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:30:21 -0500 |
commit | 9ed7d6ae0fe7abb444c65caaadb5ef307df82c60 (patch) | |
tree | aa930f11967a61c95619a3fd2cb6ba5356e5dd16 /console.h | |
parent | 4082be4df4cf1ad53e15a1f0876cd2f04d6d2593 (diff) |
New VMstate save/load infrastructure
This patch introduces VMState infrastructure, to convert the save/load
functions of devices to a table approach. This new approach has the
following advantages:
- it is type-safe
- you can't have load/save functions out of sync
- will allows us to have new interesting commands, like dump <device>, that
shows all its internal state.
- Just now, the only added type is arrays, but we can add structures.
- Uses old load_state() function for loading old state.
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'console.h')
0 files changed, 0 insertions, 0 deletions