mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
Monitor: Convert pci_device_hot_add() to cmd_new_ret()
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
aeb91c1e13
commit
395560c8d1
3 changed files with 13 additions and 7 deletions
2
sysemu.h
2
sysemu.h
|
@ -213,7 +213,7 @@ DriveInfo *add_init_drive(const char *opts);
|
|||
|
||||
/* pci-hotplug */
|
||||
void pci_device_hot_add_print(Monitor *mon, const QObject *data);
|
||||
void pci_device_hot_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
|
||||
int pci_device_hot_add(Monitor *mon, const QDict *qdict, QObject **ret_data);
|
||||
void drive_hot_add(Monitor *mon, const QDict *qdict);
|
||||
void pci_device_hot_remove(Monitor *mon, const char *pci_addr);
|
||||
void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue