diff options
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -194,7 +194,8 @@ extern int drive_add(const char *file, const char *fmt, ...); extern int drive_init(struct drive_opt *arg, int snapshot, void *machine); /* acpi */ -void qemu_system_hot_add_init(void); +typedef void (*qemu_system_device_hot_add_t)(int pcibus, int slot, int state); +void qemu_system_device_hot_add_register(qemu_system_device_hot_add_t callback); void qemu_system_device_hot_add(int pcibus, int slot, int state); /* device-hotplug */ |