aboutsummaryrefslogtreecommitdiff
path: root/hw/hw.h
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-20 19:42:40 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-08-27 20:30:22 -0500
commitcff09e923999e3848cdf3b2dc4e6c595523cddc6 (patch)
tree3e39e77a6e792dcb04730673562ac7932cf5e788 /hw/hw.h
parent73534f2f682f2957fabb25e3890481098cc5dcee (diff)
downloadqemu-cff09e923999e3848cdf3b2dc4e6c595523cddc6.zip
qemu-cff09e923999e3848cdf3b2dc4e6c595523cddc6.tar.gz
qemu-cff09e923999e3848cdf3b2dc4e6c595523cddc6.tar.bz2
Add VMState support to run a function after 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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/hw.h b/hw/hw.h
index 73f2f43..f3cc981 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 (*run_after_load)(void *opaque);
VMStateField *fields;
};