diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-20 19:42:40 +0200 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-08-27 20:30:22 -0500 |
commit | cff09e923999e3848cdf3b2dc4e6c595523cddc6 (patch) | |
tree | 3e39e77a6e792dcb04730673562ac7932cf5e788 /savevm.c | |
parent | 73534f2f682f2957fabb25e3890481098cc5dcee (diff) | |
download | qemu-cff09e923999e3848cdf3b2dc4e6c595523cddc6.tar.gz qemu-cff09e923999e3848cdf3b2dc4e6c595523cddc6.tar.bz2 qemu-cff09e923999e3848cdf3b2dc4e6c595523cddc6.zip |
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 'savevm.c')
-rw-r--r-- | savevm.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1060,6 +1060,8 @@ int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd, } field++; } + if (vmsd->run_after_load) + return vmsd->run_after_load(opaque); return 0; } |