diff options
| author | Gerd Hoffmann <kraxel@redhat.com> | 2009-09-10 11:43:29 +0200 |
|---|---|---|
| committer | malc <av1474@comtv.ru> | 2009-09-10 19:47:59 +0400 |
| commit | 924f6d72d3787e56961498f8c97d13bf87c84a36 (patch) | |
| tree | 41990b4318cf64638943b22e5b8957ff3b93dd50 /hw/isa.h | |
| parent | 787aa97a3eae76f14696ceab5555f06d784aeeea (diff) | |
| download | focaccia-qemu-924f6d72d3787e56961498f8c97d13bf87c84a36.tar.gz focaccia-qemu-924f6d72d3787e56961498f8c97d13bf87c84a36.zip | |
qdev: add isa_create() function
Like isa_create_simple, but doesn't call qdev_init, so one can set properties after creating and before initializing the device. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/isa.h')
| -rw-r--r-- | hw/isa.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/isa.h b/hw/isa.h index 4582ff90c0..655ad62c1d 100644 --- a/hw/isa.h +++ b/hw/isa.h @@ -27,6 +27,7 @@ void isa_bus_irqs(qemu_irq *irqs); qemu_irq isa_reserve_irq(int isairq); void isa_init_irq(ISADevice *dev, qemu_irq *p, int isairq); void isa_qdev_register(ISADeviceInfo *info); +ISADevice *isa_create(const char *name); ISADevice *isa_create_simple(const char *name); extern target_phys_addr_t isa_mem_base; |