pcie_host: Turn pcie_host_init() into an instance_init
commit7c8b7248261bfa5e54eff1715b699caa8b3f1d77
authorAndreas Färber <afaerber@suse.de>
Thu, 24 Apr 2014 15:26:51 +0000 (24 17:26 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 21 May 2014 12:47:50 +0000 (21 15:47 +0300)
tree63022ed65beacd587d5d14e685f3a971fc5ffa4c
parent0d73394ad93aa12755316b3a90b3193aeeb95f90
pcie_host: Turn pcie_host_init() into an instance_init

This assures the trivial field initialization is applied for any derived
type - currently only Q35PCIHost.

Signed-off-by: Andreas Färber <afaerber@suse.de>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-host/q35.c
hw/pci/pcie_host.c
include/hw/pci/pcie_host.h