diff options
Diffstat (limited to 'hw/ide/cmd646.c')
-rw-r--r-- | hw/ide/cmd646.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c index 559147ff43..8b71a13154 100644 --- a/hw/ide/cmd646.c +++ b/hw/ide/cmd646.c @@ -263,7 +263,7 @@ static int pci_cmd646_ide_initfn(PCIDevice *dev) ide_init2(&d->bus[0], irq[0]); ide_init2(&d->bus[1], irq[1]); - vmstate_register(0, &vmstate_ide_pci, d); + vmstate_register(&dev->qdev, 0, &vmstate_ide_pci, d); qemu_register_reset(cmd646_reset, d); return 0; } |