diff options
author | Isaku Yamahata | 2011-04-03 13:32:46 +0200 |
---|---|---|
committer | Kevin Wolf | 2011-04-07 13:51:48 +0200 |
commit | 757179038c4884dc43c2ecd0f4da3facb24f262c (patch) | |
tree | 76dd8c9d36c5324187b4650d672edb7fb9edb967 /hw/ide.h | |
parent | exit if -drive specified is invalid instead of ignoring the "wrong" -drive (diff) | |
download | qemu-757179038c4884dc43c2ecd0f4da3facb24f262c.tar.gz qemu-757179038c4884dc43c2ecd0f4da3facb24f262c.tar.xz qemu-757179038c4884dc43c2ecd0f4da3facb24f262c.zip |
ide: consolidate drive_get(IF_IDE)
factor out ide initialization to call drive_get(IF_IDE)
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'hw/ide.h')
-rw-r--r-- | hw/ide.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -28,4 +28,7 @@ void mmio_ide_init (target_phys_addr_t membase, target_phys_addr_t membase2, void ide_get_bs(BlockDriverState *bs[], BusState *qbus); +/* ide/core.c */ +void ide_drive_get(DriveInfo **hd, int max_bus); + #endif /* HW_IDE_H */ |