summaryrefslogtreecommitdiff
path: root/savevm.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-10 03:04:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-11 11:10:05 -0500
commitacb4d5ec1f0fdcf2632fa1fecdc341de479e30b0 (patch)
tree8fde5516a8108e32ea28ea7516f317529222744d /savevm.c
parent0f06c91c4656d3de1f6da99bab1eaca69dfffa79 (diff)
downloadqemu-acb4d5ec1f0fdcf2632fa1fecdc341de479e30b0.tar.gz
qemu-acb4d5ec1f0fdcf2632fa1fecdc341de479e30b0.tar.bz2
qemu-acb4d5ec1f0fdcf2632fa1fecdc341de479e30b0.zip
vmstate: rename run_after_load() -> post_load()
This naming was used in kvm tree, and is easier to remember 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/savevm.c b/savevm.c
index 7b0989ff37..38f99468f8 100644
--- a/savevm.c
+++ b/savevm.c
@@ -1057,8 +1057,9 @@ int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd,
}
field++;
}
- if (vmsd->run_after_load)
- return vmsd->run_after_load(opaque);
+ if (vmsd->post_load) {
+ return vmsd->post_load(opaque);
+ }
return 0;
}