mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
vmstate: Drop unused post_save handler
No device makes use of it anymore. Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com> Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
604be20023
commit
ec86f3e1af
2 changed files with 0 additions and 4 deletions
1
hw/hw.h
1
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;
|
||||
};
|
||||
|
||||
|
|
3
savevm.c
3
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue