projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c53b201
)
qdev: enable vmstate_unregister() support
author
Juan Quintela
<quintela@redhat.com>
Wed, 2 Dec 2009 11:36:45 +0000
(12:36 +0100)
committer
Anthony Liguori
<aliguori@us.ibm.com>
Thu, 3 Dec 2009 16:04:55 +0000
(10:04 -0600)
Now vmstate_unregister have the right type
Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/qdev.c
patch
|
blob
|
history
diff --git
a/hw/qdev.c
b/hw/qdev.c
index 875ca501b6f771259d43b1309ee0d8525cf34e13..13c9fe236ad3eb8233c691afb6098f6af44305f9 100644
(file)
--- 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)