aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Kiszka <jan.kiszka@siemens.com>2010-05-15 13:32:39 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-05-15 14:02:39 +0000
commitec86f3e1af558a9a6f8476b9c1903cb6f152b771 (patch)
tree8d2bfa6c922ccf0662d937e9527e3bf0f8702e4f
parent604be20023dc1e03f14f76f76be8023e6abfe14a (diff)
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>
-rw-r--r--hw/hw.h1
-rw-r--r--savevm.c3
2 files changed, 0 insertions, 4 deletions
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)