Revision fa879c64 sysemu.h
b/sysemu.h | ||
---|---|---|
131 | 131 |
BlockInterfaceType type; |
132 | 132 |
int bus; |
133 | 133 |
int unit; |
134 |
char serial[21]; |
|
134 | 135 |
} DriveInfo; |
135 | 136 |
|
136 | 137 |
#define MAX_IDE_DEVS 2 |
... | ... | |
142 | 143 |
|
143 | 144 |
extern int drive_get_index(BlockInterfaceType type, int bus, int unit); |
144 | 145 |
extern int drive_get_max_bus(BlockInterfaceType type); |
146 |
extern const char *drive_get_serial(BlockDriverState *bdrv); |
|
145 | 147 |
|
146 | 148 |
/* serial ports */ |
147 | 149 |
|
Also available in: Unified diff