diff --git a/hw/hw.h b/hw/hw.h index 328b704fd8..2d397243d1 100644 --- a/hw/hw.h +++ b/hw/hw.h @@ -321,7 +321,6 @@ struct VMStateDescription { int (*pre_load)(void *opaque); int (*post_load)(void *opaque, int version_id); void (*pre_save)(void *opaque); - void (*post_save)(void *opaque); VMStateField *fields; }; diff --git a/savevm.c b/savevm.c index 31a419c1c4..74e553c53d 100644 --- a/savevm.c +++ b/savevm.c @@ -1231,9 +1231,6 @@ void vmstate_save_state(QEMUFile *f, const VMStateDescription *vmsd, } field++; } - if (vmsd->post_save) { - vmsd->post_save(opaque); - } } static int vmstate_load(QEMUFile *f, SaveStateEntry *se, int version_id)