Revision 2e810b36 sysemu.h
b/sysemu.h | ||
---|---|---|
176 | 176 |
extern TAILQ_HEAD(driveoptlist, DriveOpt) driveopts; |
177 | 177 |
|
178 | 178 |
extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit); |
179 |
extern DriveInfo *drive_get_by_id(char *id); |
|
179 |
extern DriveInfo *drive_get_by_id(const char *id);
|
|
180 | 180 |
extern int drive_get_max_bus(BlockInterfaceType type); |
181 | 181 |
extern void drive_uninit(BlockDriverState *bdrv); |
182 | 182 |
extern const char *drive_get_serial(BlockDriverState *bdrv); |
Also available in: Unified diff