summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-10 03:04:31 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-11 11:10:05 -0500
commitfd4d52deab2b1e13c559fd8e4ed4d5eb515f30cb (patch)
treefb8b23af16ac72a2b9ec5d4c00c84df8a7913c6d /hw
parent752ff2fa3188f8bd9a105024ab65f6fe53736126 (diff)
downloadqemu-fd4d52deab2b1e13c559fd8e4ed4d5eb515f30cb.tar.gz
vmstate: Add pre_load() hook
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/hw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/hw.h b/hw/hw.h
index c85ce503b4..8e75a040a9 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -306,6 +306,7 @@ struct VMStateDescription {
int minimum_version_id;
int minimum_version_id_old;
LoadStateHandler *load_state_old;
+ int (*pre_load)(void *opaque);
int (*post_load)(void *opaque);
VMStateField *fields;
};