mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 15:53:54 -06:00
blockdev: Give drives internal linkage
This is the list of drives defined with drive_init(). Hide it, so it doesn't get abused. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
This commit is contained in:
parent
dbc13590f6
commit
c9b62a7ee1
2 changed files with 1 additions and 3 deletions
|
@ -36,8 +36,6 @@ typedef struct DriveInfo {
|
|||
#define MAX_IDE_DEVS 2
|
||||
#define MAX_SCSI_DEVS 7
|
||||
|
||||
extern QTAILQ_HEAD(drivelist, DriveInfo) drives;
|
||||
|
||||
extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit);
|
||||
extern DriveInfo *drive_get_by_id(const char *id);
|
||||
extern int drive_get_max_bus(BlockInterfaceType type);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue