diff options
author | Juan Quintela <quintela@redhat.com> | 2009-09-10 03:04:32 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-09-11 11:10:05 -0500 |
commit | 8fb0791d30bea0f2ca071ab571e71dfa1cc49085 (patch) | |
tree | b51c8f0a366b01b5e839a63fbc5f66ffdccff2a4 /hw/hw.h | |
parent | fd4d52deab2b1e13c559fd8e4ed4d5eb515f30cb (diff) | |
download | qemu-8fb0791d30bea0f2ca071ab571e71dfa1cc49085.zip qemu-8fb0791d30bea0f2ca071ab571e71dfa1cc49085.tar.gz qemu-8fb0791d30bea0f2ca071ab571e71dfa1cc49085.tar.bz2 |
vmstate: Add pre/post_save() hooks
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/hw.h')
-rw-r--r-- | hw/hw.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -308,6 +308,8 @@ struct VMStateDescription { LoadStateHandler *load_state_old; int (*pre_load)(void *opaque); int (*post_load)(void *opaque); + void (*pre_save)(const void *opaque); + void (*post_save)(const void *opaque); VMStateField *fields; }; |