Revision 56a14938 sysemu.h
b/sysemu.h | ||
---|---|---|
190 | 190 |
extern DriveInfo *drive_get(BlockInterfaceType type, int bus, int unit); |
191 | 191 |
extern DriveInfo *drive_get_by_id(const char *id); |
192 | 192 |
extern int drive_get_max_bus(BlockInterfaceType type); |
193 |
extern void drive_uninit(BlockDriverState *bdrv);
|
|
193 |
extern void drive_uninit(DriveInfo *dinfo);
|
|
194 | 194 |
extern const char *drive_get_serial(BlockDriverState *bdrv); |
195 | 195 |
extern BlockInterfaceErrorAction drive_get_onerror(BlockDriverState *bdrv); |
196 | 196 |
|
... | ... | |
205 | 205 |
|
206 | 206 |
DriveInfo *add_init_drive(const char *opts); |
207 | 207 |
void destroy_nic(dev_match_fn *match_fn, void *arg); |
208 |
void destroy_bdrvs(dev_match_fn *match_fn, void *arg); |
|
209 | 208 |
|
210 | 209 |
/* pci-hotplug */ |
211 | 210 |
void pci_device_hot_add(Monitor *mon, const QDict *qdict); |
Also available in: Unified diff