vmstate: add version_id argument to post_load

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Juan Quintela authored and Anthony Liguori committed 2009-10-05 09:32:36 -05:00
1 parent 84e2e3eb5f
commit e59fb3741b
13 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -1084,7 +1084,7 @@ int vmstate_load_state(QEMUFile *f, const VMStateDescription *vmsd,
field++;
}
if (vmsd->post_load) {
return vmsd->post_load(opaque);
return vmsd->post_load(opaque, version_id);
}
return 0;
}