diff options
| author | Markus Armbruster <armbru@redhat.com> | 2010-06-02 13:31:56 +0200 |
|---|---|---|
| committer | Kevin Wolf <kwolf@redhat.com> | 2010-06-04 11:43:40 +0200 |
| commit | 7b370f513002b340a383fac961dc8c6fdf39eddc (patch) | |
| tree | dc2b10005b19613242f57eb96092b470b51af504 /hw/qdev.h | |
| parent | a803cb8eb8ada1add74f1b393b8a553a7e7f3acf (diff) | |
| download | focaccia-qemu-7b370f513002b340a383fac961dc8c6fdf39eddc.tar.gz focaccia-qemu-7b370f513002b340a383fac961dc8c6fdf39eddc.zip | |
qdev: Move declaration of qdev_init_bdrv() into qdev.h
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/qdev.h')
| -rw-r--r-- | hw/qdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/qdev.h b/hw/qdev.h index 51a24e271c..0ad6c9567d 100644 --- a/hw/qdev.h +++ b/hw/qdev.h @@ -125,6 +125,8 @@ void qdev_machine_creation_done(void); qemu_irq qdev_get_gpio_in(DeviceState *dev, int n); void qdev_connect_gpio_out(DeviceState *dev, int n, qemu_irq pin); +BlockDriverState *qdev_init_bdrv(DeviceState *dev, BlockInterfaceType type); + BusState *qdev_get_child_bus(DeviceState *dev, const char *name); /*** Device API. ***/ |