From 70cca6d87261f3ab330e2be34fbe9596b13342ae Mon Sep 17 00:00:00 2001 From: Juan Quintela Date: Wed, 2 Dec 2009 12:36:45 +0100 Subject: [PATCH] qdev: enable vmstate_unregister() support Now vmstate_unregister have the right type Signed-off-by: Juan Quintela Signed-off-by: Anthony Liguori --- hw/qdev.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/qdev.c b/hw/qdev.c index 875ca501b6..13c9fe236a 100644 --- a/hw/qdev.c +++ b/hw/qdev.c @@ -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) -- 2.11.4.GIT