summary refs log tree commit diff stats
path: root/util/oslib-posix.c
diff options
context:
space:
mode:
authorBandan Das <bsd@redhat.com>2013-11-25 17:48:42 -0500
committerAndreas Färber <afaerber@suse.de>2014-03-13 01:21:57 +0100
commitd2f69df746f06d785ffbf6cc9711f7df9d014e35 (patch)
tree99d73b3d346f354513a5fe3e3bde8f0175df8ef2 /util/oslib-posix.c
parent5c21ce77d7e5643089ceec556c0408445d017f32 (diff)
downloadfocaccia-qemu-d2f69df746f06d785ffbf6cc9711f7df9d014e35.tar.gz
focaccia-qemu-d2f69df746f06d785ffbf6cc9711f7df9d014e35.zip
pci: Move VMState registration/unregistration to QOM realize/unrealize
Use the realize and unrealize hooks to register and unregister
vmstate_pcibus respectively.

Relocate some stuff to avoid forward declarations.

Signed-off-by: Bandan Das <bsd@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
[AF: Keep using PCI_BUS() cast macro]
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'util/oslib-posix.c')
0 files changed, 0 insertions, 0 deletions