diff options
author | Andreas Färber <afaerber@suse.de> | 2013-08-23 20:18:50 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-08-30 20:14:39 +0200 |
commit | c6baf942e084e0bc40ee37c8d8672ac9c5ea270b (patch) | |
tree | 1386a03bcb0fd5248b3316043088675d81f45d7d /hw/ide/internal.h | |
parent | 77cbb28a5b90dbd183e1139734bcc2ac9ecbdd6a (diff) | |
download | qemu-c6baf942e084e0bc40ee37c8d8672ac9c5ea270b.tar.gz qemu-c6baf942e084e0bc40ee37c8d8672ac9c5ea270b.tar.bz2 qemu-c6baf942e084e0bc40ee37c8d8672ac9c5ea270b.zip |
ide: Pass size to ide_bus_new()
To be passed to qbus_create_inplace().
Reviewed-by: Wenchao Xia <xiawenc@linux.vnet.ibm.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'hw/ide/internal.h')
-rw-r--r-- | hw/ide/internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/hw/ide/internal.h b/hw/ide/internal.h index 048a052143..5d1cf87742 100644 --- a/hw/ide/internal.h +++ b/hw/ide/internal.h @@ -576,7 +576,8 @@ void ide_atapi_cmd(IDEState *s); void ide_atapi_cmd_reply_end(IDEState *s); /* hw/ide/qdev.c */ -void ide_bus_new(IDEBus *idebus, DeviceState *dev, int bus_id, int max_units); +void ide_bus_new(IDEBus *idebus, size_t idebus_size, DeviceState *dev, + int bus_id, int max_units); IDEDevice *ide_create_drive(IDEBus *bus, int unit, DriveInfo *drive); #endif /* HW_IDE_INTERNAL_H */ |