mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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>
This commit is contained in:
parent
1eb7538b77
commit
752ff2fa31
6 changed files with 12 additions and 11 deletions
5
savevm.c
5
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue