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
commit752ff2fa3188f8bd9a105024ab65f6fe53736126 (patch)
tree8fde5516a8108e32ea28ea7516f317529222744d /savevm.c
parent1eb7538b7753535f9502c8c5779fd9f4e80d1559 (diff)
downloadqemu-752ff2fa3188f8bd9a105024ab65f6fe53736126.tar.gz
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;
}