From 407a4f3073803a948843617239f1729faaeda23f Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 7 Oct 2009 20:55:32 +0200 Subject: ide: port pci ide to vmstate Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/ide/cmd646.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw/ide/cmd646.c') diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 5c8f615258..ea116fce71 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -233,7 +233,7 @@ static int pci_cmd646_ide_initfn(PCIDevice *dev) ide_init2(&d->bus[0], NULL, NULL, irq[0]); ide_init2(&d->bus[1], NULL, NULL, irq[1]); - register_savevm("ide", 0, 3, pci_ide_save, pci_ide_load, d); + vmstate_register(0, &vmstate_ide_pci, d); qemu_register_reset(cmd646_reset, d); cmd646_reset(d); return 0; -- cgit v1.2.3