diff options
author | Bernhard Beschow | 2022-10-22 17:04:32 +0200 |
---|---|---|
committer | Philippe Mathieu-Daudé | 2022-10-31 11:32:07 +0100 |
commit | 0b6fdb933b04637a240bd132d626d1daf2d8d7a7 (patch) | |
tree | b7c0436dd7840efb5421503840c2371b4e9b0c98 | |
parent | hw/isa/piix3: Prefer pci_address_space() over get_system_memory() (diff) | |
download | qemu-0b6fdb933b04637a240bd132d626d1daf2d8d7a7.tar.gz qemu-0b6fdb933b04637a240bd132d626d1daf2d8d7a7.tar.xz qemu-0b6fdb933b04637a240bd132d626d1daf2d8d7a7.zip |
hw/isa/piix4: Rename wrongly named method
This method post-loads the southbridge, not the IDE device.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20221022150508.26830-8-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
-rw-r--r-- | hw/isa/piix4.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/isa/piix4.c b/hw/isa/piix4.c index 15f344dbb7..c88d3bf3bf 100644 --- a/hw/isa/piix4.c +++ b/hw/isa/piix4.c @@ -141,7 +141,7 @@ static void piix4_isa_reset(DeviceState *dev) pci_conf[0xae] = 0x00; } -static int piix4_ide_post_load(void *opaque, int version_id) +static int piix4_post_load(void *opaque, int version_id) { PIIX4State *s = opaque; @@ -156,7 +156,7 @@ static const VMStateDescription vmstate_piix4 = { .name = "PIIX4", .version_id = 3, .minimum_version_id = 2, - .post_load = piix4_ide_post_load, + .post_load = piix4_post_load, .fields = (VMStateField[]) { VMSTATE_PCI_DEVICE(dev, PIIX4State), VMSTATE_UINT8_V(rcr, PIIX4State, 3), |