]> Git Repo - qemu.git/commit - hw/pci/pci.c
pci: Permit incremental conversion of device models to realize
authorMarkus Armbruster <[email protected]>
Mon, 19 Jan 2015 14:52:29 +0000 (15:52 +0100)
committerMichael S. Tsirkin <[email protected]>
Thu, 26 Feb 2015 11:42:16 +0000 (12:42 +0100)
commit7ee6c1e182cca6ccf5253569fca3d05826efb4e9
tree079aa8ac68eb59c17a1aa3a3da58efb9b8890c24
parent133e9b228df16d11de01529c217417e78d1d9370
pci: Permit incremental conversion of device models to realize

Call the new PCIDeviceClass method realize().  Default it to
pci_default_realize(), which calls old method init().

To convert a device model, make it implement realize() rather than
init().

Signed-off-by: Markus Armbruster <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
Reviewed-by: Gonglei <[email protected]>
hw/pci/pci.c
include/hw/pci/pci.h
This page took 0.022328 seconds and 4 git commands to generate.