Revision 3f84865a sysemu.h
b/sysemu.h | ||
---|---|---|
199 | 199 |
extern QemuOpts *drive_add(const char *file, const char *fmt, ...); |
200 | 200 |
extern DriveInfo *drive_init(QemuOpts *arg, void *machine, int *fatal_error); |
201 | 201 |
|
202 |
/* acpi */ |
|
203 |
typedef void (*qemu_system_device_hot_add_t)(int pcibus, int slot, int state); |
|
204 |
void qemu_system_device_hot_add_register(qemu_system_device_hot_add_t callback); |
|
205 |
void qemu_system_device_hot_add(int pcibus, int slot, int state); |
|
206 |
|
|
207 | 202 |
/* device-hotplug */ |
208 | 203 |
|
209 | 204 |
typedef int (dev_match_fn)(void *dev_private, void *arg); |
... | ... | |
217 | 212 |
void drive_hot_add(Monitor *mon, const QDict *qdict); |
218 | 213 |
void pci_device_hot_remove(Monitor *mon, const char *pci_addr); |
219 | 214 |
void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict); |
220 |
void pci_device_hot_remove_success(int pcibus, int slot);
|
|
215 |
void pci_device_hot_remove_success(PCIDevice *dev);
|
|
221 | 216 |
|
222 | 217 |
/* serial ports */ |
223 | 218 |
|
Also available in: Unified diff