mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
monitor: Convert do_pci_device_hot_remove() to QObject
Errors are still directly printed, as we are only converting regular output. Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
911d296346
commit
6848d82716
3 changed files with 6 additions and 3 deletions
3
sysemu.h
3
sysemu.h
|
@ -208,7 +208,8 @@ DriveInfo *add_init_drive(const char *opts);
|
|||
void pci_device_hot_add(Monitor *mon, const QDict *qdict);
|
||||
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);
|
||||
void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict,
|
||||
QObject **ret_data);
|
||||
|
||||
/* serial ports */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue