aboutsummaryrefslogtreecommitdiffstats
path: root/hw/acpi.c
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/acpi.c
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/acpi.c')
-rw-r--r--hw/acpi.c4
1 files changed, 2 insertions, 2 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),