diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-15 19:23:25 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2009-09-15 19:23:25 +0000 |
commit | 71077c1cb07c9c73ec279c119d526d2600132ac9 (patch) | |
tree | a9b920c37becaff3e372b1835e1264a28127eb29 /hw/pci.h | |
parent | ffabf0371832aa398f647bc18b4d3c50609c1493 (diff) |
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>
Diffstat (limited to 'hw/pci.h')
-rw-r--r-- | hw/pci.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -328,6 +328,7 @@ void pci_qdev_register(PCIDeviceInfo *info); void pci_qdev_register_many(PCIDeviceInfo *info); PCIDevice *pci_create(const char *name, const char *devaddr); +PCIDevice *pci_create_noinit(PCIBus *bus, int devfn, const char *name); PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name); /* lsi53c895a.c */ |