]> git.proxmox.com Git - mirror_qemu.git/commit - hw/sysbus.c
qdev: simplify (de)allocation of buses
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 23 Nov 2012 08:47:15 +0000 (09:47 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 26 Nov 2012 19:41:00 +0000 (13:41 -0600)
commit64b625f4b2fdb2c873e25c149648b2ce923faab7
treec0ecebd3d237877cba1d232454ae5dd43d27b43c
parentfde9bf4470d4a3b6ee1da0dee2370ab028b6314a
qdev: simplify (de)allocation of buses

All conditional deallocation can now be done with object_delete.
Remove the @qom_allocated and @glib_allocated fields; replace the latter
with a direct assignment of the @free function pointer.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
hw/pci.c
hw/qdev-core.h
hw/qdev.c
hw/sysbus.c