mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 01:03:55 -06:00
Clean up pci_drive_hot_add()'s use of BlockInterfaceType
pci_drive_hot_add() parameter type has the wrong type: int instead of BlockInterfaceType. It's actually redundant, so we can just drop it. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
parent
036f0f8356
commit
4dbd84e26f
3 changed files with 8 additions and 13 deletions
3
sysemu.h
3
sysemu.h
|
@ -145,8 +145,7 @@ extern unsigned int nb_prom_envs;
|
|||
|
||||
/* pci-hotplug */
|
||||
void pci_device_hot_add(Monitor *mon, const QDict *qdict);
|
||||
int pci_drive_hot_add(Monitor *mon, const QDict *qdict,
|
||||
DriveInfo *dinfo, int type);
|
||||
int pci_drive_hot_add(Monitor *mon, const QDict *qdict, DriveInfo *dinfo);
|
||||
void do_pci_device_hot_remove(Monitor *mon, const QDict *qdict);
|
||||
|
||||
/* generic hotplug */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue