qdev/pci: add pci_create_noinit()
commit71077c1cb07c9c73ec279c119d526d2600132ac9
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 15 Sep 2009 19:23:25 +0000 (15 19:23 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Tue, 15 Sep 2009 19:23:25 +0000 (15 19:23 +0000)
treea9b920c37becaff3e372b1835e1264a28127eb29
parentffabf0371832aa398f647bc18b4d3c50609c1493
qdev/pci: add pci_create_noinit()

Like pci_create_simple() but doesn't call qdev_init(), so one can
set properties before initializing the device.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/pci.c
hw/pci.h