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/wdt_i6300esb.c | |
parent | 70cca6d87261f3ab330e2be34fbe9596b13342ae (diff) |
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/wdt_i6300esb.c')
-rw-r--r-- | hw/wdt_i6300esb.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/wdt_i6300esb.c b/hw/wdt_i6300esb.c index 27fa09e417..805b3028fc 100644 --- a/hw/wdt_i6300esb.c +++ b/hw/wdt_i6300esb.c @@ -416,8 +416,6 @@ static int i6300esb_init(PCIDevice *dev) pci_register_bar(&d->dev, 0, 0x10, PCI_BASE_ADDRESS_SPACE_MEMORY, i6300esb_map); - vmstate_register(-1, &vmstate_i6300esb, d); - return 0; } @@ -429,6 +427,7 @@ static WatchdogTimerModel model = { static PCIDeviceInfo i6300esb_info = { .qdev.name = "i6300esb", .qdev.size = sizeof(I6300State), + .qdev.vmsd = &vmstate_i6300esb, .config_read = i6300esb_config_read, .config_write = i6300esb_config_write, .init = i6300esb_init, |