summaryrefslogtreecommitdiff
path: root/hw/ide/piix.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-10-07 20:55:32 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-10-27 12:28:46 -0500
commit407a4f3073803a948843617239f1729faaeda23f (patch)
tree68103f93ef727b7c1cee29cc01de24e6fe7a4f66 /hw/ide/piix.c
parent44bfa332813a9dde9349fa52b1807706143d5d66 (diff)
downloadqemu-407a4f3073803a948843617239f1729faaeda23f.tar.gz
ide: port pci ide to vmstate
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/ide/piix.c')
-rw-r--r--hw/ide/piix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/piix.c b/hw/ide/piix.c
index ddce6847df..a17bf5951c 100644
--- a/hw/ide/piix.c
+++ b/hw/ide/piix.c
@@ -124,7 +124,7 @@ static int pci_piix_ide_initfn(PCIIDEState *d)
pci_register_bar(&d->dev, 4, 0x10, PCI_ADDRESS_SPACE_IO, bmdma_map);
- register_savevm("ide", 0, 3, pci_ide_save, pci_ide_load, d);
+ vmstate_register(0, &vmstate_ide_pci, d);
ide_bus_new(&d->bus[0], &d->dev.qdev);
ide_bus_new(&d->bus[1], &d->dev.qdev);