Revision 70cca6d8
b/hw/qdev.c | ||
---|---|---|
296 | 296 |
bus = QLIST_FIRST(&dev->child_bus); |
297 | 297 |
qbus_free(bus); |
298 | 298 |
} |
299 |
#if 0 /* FIXME: need sane vmstate_unregister function */ |
|
300 | 299 |
if (dev->info->vmsd) |
301 | 300 |
vmstate_unregister(dev->info->vmsd, dev); |
302 |
#endif |
|
303 | 301 |
if (dev->info->exit) |
304 | 302 |
dev->info->exit(dev); |
305 | 303 |
if (dev->opts) |
Also available in: Unified diff