aboutsummaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-09-10 03:04:30 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-09-11 11:10:05 -0500
commit752ff2fa3188f8bd9a105024ab65f6fe53736126 (patch)
tree8fde5516a8108e32ea28ea7516f317529222744d /hw
parent1eb7538b7753535f9502c8c5779fd9f4e80d1559 (diff)
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>
Diffstat (limited to 'hw')
-rw-r--r--hw/acpi.c4
-rw-r--r--hw/hw.h2
-rw-r--r--hw/piix_pci.c4
-rw-r--r--hw/slavio_intctl.c4
-rw-r--r--hw/tcx.c4
5 files changed, 9 insertions, 9 deletions
diff --git a/hw/acpi.c b/hw/acpi.c
index ef4f782a2..b14b9f4f6 100644
--- a/hw/acpi.c
+++ b/hw/acpi.c
@@ -441,7 +441,7 @@ static void pm_write_config(PCIDevice *d,
pm_io_space_update((PIIX4PMState *)d);
}
-static int vmstate_acpi_after_load(void *opaque)
+static int vmstate_acpi_post_load(void *opaque)
{
PIIX4PMState *s = opaque;
@@ -454,7 +454,7 @@ static const VMStateDescription vmstate_acpi = {
.version_id = 1,
.minimum_version_id = 1,
.minimum_version_id_old = 1,
- .run_after_load = vmstate_acpi_after_load,
+ .post_load = vmstate_acpi_post_load,
.fields = (VMStateField []) {
VMSTATE_PCI_DEVICE(dev, PIIX4PMState),
VMSTATE_UINT16(pmsts, PIIX4PMState),
diff --git a/hw/hw.h b/hw/hw.h
index c70397503..c85ce503b 100644
--- a/hw/hw.h
+++ b/hw/hw.h
@@ -306,7 +306,7 @@ struct VMStateDescription {
int minimum_version_id;
int minimum_version_id_old;
LoadStateHandler *load_state_old;
- int (*run_after_load)(void *opaque);
+ int (*post_load)(void *opaque);
VMStateField *fields;
};
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index ef3463b78..edd6df07e 100644
--- a/hw/piix_pci.c
+++ b/hw/piix_pci.c
@@ -172,7 +172,7 @@ static int i440fx_load_old(QEMUFile* f, void *opaque, int version_id)
return 0;
}
-static int i440fx_after_load(void *opaque)
+static int i440fx_post_load(void *opaque)
{
PCII440FXState *d = opaque;
@@ -186,7 +186,7 @@ static const VMStateDescription vmstate_i440fx = {
.minimum_version_id = 3,
.minimum_version_id_old = 1,
.load_state_old = i440fx_load_old,
- .run_after_load = i440fx_after_load,
+ .post_load = i440fx_post_load,
.fields = (VMStateField []) {
VMSTATE_PCI_DEVICE(dev, PCII440FXState),
VMSTATE_UINT8(smm_enabled, PCII440FXState),
diff --git a/hw/slavio_intctl.c b/hw/slavio_intctl.c
index 259e45ee8..6a95f9ef7 100644
--- a/hw/slavio_intctl.c
+++ b/hw/slavio_intctl.c
@@ -374,7 +374,7 @@ static void slavio_set_irq_all(void *opaque, int irq, int level)
}
}
-static int vmstate_intctl_after_load(void *opaque)
+static int vmstate_intctl_post_load(void *opaque)
{
SLAVIO_INTCTLState *s = opaque;
@@ -398,7 +398,7 @@ static const VMStateDescription vmstate_intctl = {
.version_id = 1,
.minimum_version_id = 1,
.minimum_version_id_old = 1,
- .run_after_load = vmstate_intctl_after_load,
+ .post_load = vmstate_intctl_post_load,
.fields = (VMStateField []) {
VMSTATE_STRUCT_ARRAY(slaves, SLAVIO_INTCTLState, MAX_CPUS, 1,
vmstate_intctl_cpu, SLAVIO_CPUINTCTLState),
diff --git a/hw/tcx.c b/hw/tcx.c
index 9996219ab..012d01b84 100644
--- a/hw/tcx.c
+++ b/hw/tcx.c
@@ -378,7 +378,7 @@ static void tcx24_invalidate_display(void *opaque)
qemu_console_resize(s->ds, s->width, s->height);
}
-static int vmstate_tcx_after_load(void *opaque)
+static int vmstate_tcx_post_load(void *opaque)
{
TCXState *s = opaque;
@@ -397,7 +397,7 @@ static const VMStateDescription vmstate_tcx = {
.version_id = 4,
.minimum_version_id = 4,
.minimum_version_id_old = 4,
- .run_after_load = vmstate_tcx_after_load,
+ .post_load = vmstate_tcx_post_load,
.fields = (VMStateField []) {
VMSTATE_UINT16(height, TCXState),
VMSTATE_UINT16(width, TCXState),