aboutsummaryrefslogtreecommitdiff
path: root/hw/hw.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-29 22:48:21 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-05 09:32:36 -0500
commite59fb3741bee196e3177fdbd2d00c87865ecace3 (patch)
treeed2f7508721e328336bbea24f2a895f270a28476 /hw/hw.h
parent84e2e3eb5f20248ce85d11b8b751e2bd01d8fd95 (diff)
downloadqemu-e59fb3741bee196e3177fdbd2d00c87865ecace3.zip
qemu-e59fb3741bee196e3177fdbd2d00c87865ecace3.tar.gz
qemu-e59fb3741bee196e3177fdbd2d00c87865ecace3.tar.bz2
vmstate: add version_id argument to post_load
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/hw.h b/hw/hw.h
index e407815..6f60493 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -307,7 +307,7 @@ struct VMStateDescription {
int minimum_version_id_old;
LoadStateHandler *load_state_old;
int (*pre_load)(void *opaque);
- int (*post_load)(void *opaque);
+ int (*post_load)(void *opaque, int version_id);
void (*pre_save)(const void *opaque);
void (*post_save)(const void *opaque);
VMStateField *fields;