Re: [Qemu-devel] [PATCH 1/3] hw/pci-bridge: modify pxb_dev_init_common

2016-03-22 Thread Markus Armbruster
Wei Jiangang writes: > 1) add Error **errp parameter for it, > 2) rename pxb_dev_init_common to pxb_dev_realize_common, >and prepare for pxb/pxb-pcie convert to realize. > 3) modify the callers, >including pxb_dev_initfn and pxb_pcie_dev_initfn. > > Signed-off-by: Wei Jiangang > Signed-o

[Qemu-devel] [PATCH 1/3] hw/pci-bridge: modify pxb_dev_init_common

2016-03-14 Thread Wei Jiangang
1) add Error **errp parameter for it, 2) rename pxb_dev_init_common to pxb_dev_realize_common, and prepare for pxb/pxb-pcie convert to realize. 3) modify the callers, including pxb_dev_initfn and pxb_pcie_dev_initfn. Signed-off-by: Wei Jiangang Signed-off-by: Cao jin --- hw/pci-bridge/pci