diff options
author | Juan Quintela <quintela@redhat.com> | 2009-12-02 12:36:45 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-03 10:04:55 -0600 |
commit | 70cca6d87261f3ab330e2be34fbe9596b13342ae (patch) | |
tree | 62e19357c53592c7a48f7692866ca7a05e3de347 | |
parent | 5084bca17f9d2b0a39337df4bd991838ed70d866 (diff) | |
download | qemu-70cca6d87261f3ab330e2be34fbe9596b13342ae.tar.gz qemu-70cca6d87261f3ab330e2be34fbe9596b13342ae.tar.bz2 qemu-70cca6d87261f3ab330e2be34fbe9596b13342ae.zip |
qdev: enable vmstate_unregister() support
Now vmstate_unregister have the right type
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
-rw-r--r-- | hw/qdev.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -296,10 +296,8 @@ void qdev_free(DeviceState *dev) bus = QLIST_FIRST(&dev->child_bus); qbus_free(bus); } -#if 0 /* FIXME: need sane vmstate_unregister function */ if (dev->info->vmsd) vmstate_unregister(dev->info->vmsd, dev); -#endif if (dev->info->exit) dev->info->exit(dev); if (dev->opts) |