diff options
author | Juan Quintela <quintela@redhat.com> | 2009-12-02 12:36:46 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 10:05:58 -0600 |
commit | be73cfe2be9a41de4f97e4847b3f12a7d6d61159 (patch) | |
tree | 83419da906307e90aea6146c88f405aeeb32cf7d /hw/es1370.c | |
parent | 70cca6d87261f3ab330e2be34fbe9596b13342ae (diff) | |
download | qemu-be73cfe2be9a41de4f97e4847b3f12a7d6d61159.tar.gz qemu-be73cfe2be9a41de4f97e4847b3f12a7d6d61159.tar.bz2 qemu-be73cfe2be9a41de4f97e4847b3f12a7d6d61159.zip |
savevm: Port to qdev.vmsd all devices that have qdev
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/es1370.c')
-rw-r--r-- | hw/es1370.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/es1370.c b/hw/es1370.c index 4e646dc57c..c3582539d5 100644 --- a/hw/es1370.c +++ b/hw/es1370.c @@ -1023,7 +1023,6 @@ static int es1370_initfn (PCIDevice *dev) c[0x3f] = 0x80; pci_register_bar (&s->dev, 0, 256, PCI_BASE_ADDRESS_SPACE_IO, es1370_map); - vmstate_register (0, &vmstate_es1370, s); qemu_register_reset (es1370_on_reset, s); AUD_register_card ("es1370", &s->card); @@ -1041,6 +1040,7 @@ static PCIDeviceInfo es1370_info = { .qdev.name = "ES1370", .qdev.desc = "ENSONIQ AudioPCI ES1370", .qdev.size = sizeof (ES1370State), + .qdev.vmsd = &vmstate_es1370, .init = es1370_initfn, }; |