v2 -> v3: - Pass local *err to error_setg() in pxb_dev_realize_common() v1 -> v2:
- Extract a separate bugfix patch - Squash v1 patches 1-3 together - Drop the period and exclamation mark - Modify commit message v1: cover-letter The original patch named '[PATCH v3] PXB: convert to realize()' was raised by Cao jin <caoj.f...@cn.fujitsu.com>, and reviewed by Marcel Apfelbaum <mar...@redhat.com>. It conflicts with 02b0743 that had been merged, so resend a newer version, including the following, hw/pci-bridge: modify pxb_dev_init_common pxb: convert to realize() pxb-pcie: convert to realize() Wei Jiangang (2): hw/pci-bridge: Add missing unref in case register-bus fails hw/pci-bridge: Convert pxb initialization functions to Error hw/pci-bridge/pci_expander_bridge.c | 60 ++++++++++++++++++++----------------- 1 file changed, 33 insertions(+), 27 deletions(-) -- 1.9.3