mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 23:03:54 -06:00
blockdev: New drive_get_by_index()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
505a7fb1b1
commit
f1bd51ac2b
2 changed files with 8 additions and 0 deletions
|
@ -39,6 +39,7 @@ struct DriveInfo {
|
|||
};
|
||||
|
||||
DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
|
||||
DriveInfo *drive_get_by_index(BlockInterfaceType type, int index);
|
||||
int drive_get_max_bus(BlockInterfaceType type);
|
||||
DriveInfo *drive_get_next(BlockInterfaceType type);
|
||||
void drive_uninit(DriveInfo *dinfo);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue