aboutsummaryrefslogtreecommitdiff
path: root/hw/piix_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/piix_pci.c')
-rw-r--r--hw/piix_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/piix_pci.c b/hw/piix_pci.c
index ef3463b789..edd6df07e3 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),