]> Git Repo - qemu.git/commit
pci: Move VMState registration/unregistration to QOM realize/unrealize
authorBandan Das <[email protected]>
Mon, 25 Nov 2013 22:48:42 +0000 (17:48 -0500)
committerAndreas Färber <[email protected]>
Thu, 13 Mar 2014 00:21:57 +0000 (01:21 +0100)
commitd2f69df746f06d785ffbf6cc9711f7df9d014e35
tree99d73b3d346f354513a5fe3e3bde8f0175df8ef2
parent5c21ce77d7e5643089ceec556c0408445d017f32
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 <[email protected]>
Acked-by: Michael S. Tsirkin <[email protected]>
[AF: Keep using PCI_BUS() cast macro]
Signed-off-by: Andreas Färber <[email protected]>
hw/pci/pci.c
This page took 0.026329 seconds and 4 git commands to generate.