mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 17:23:56 -06:00
pci hotplug: make pci_device_hot_remove() static
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
9dd749aace
commit
f2b07c92a4
2 changed files with 1 additions and 2 deletions
|
@ -265,7 +265,7 @@ void pci_device_hot_add(Monitor *mon, const QDict *qdict)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
int pci_device_hot_remove(Monitor *mon, const char *pci_addr)
|
static int pci_device_hot_remove(Monitor *mon, const char *pci_addr)
|
||||||
{
|
{
|
||||||
PCIDevice *d;
|
PCIDevice *d;
|
||||||
int dom, bus;
|
int dom, bus;
|
||||||
|
|
1
sysemu.h
1
sysemu.h
|
@ -149,7 +149,6 @@ extern unsigned int nb_prom_envs;
|
||||||
/* pci-hotplug */
|
/* pci-hotplug */
|
||||||
void pci_device_hot_add(Monitor *mon, const QDict *qdict);
|
void pci_device_hot_add(Monitor *mon, const QDict *qdict);
|
||||||
void drive_hot_add(Monitor *mon, const QDict *qdict);
|
void drive_hot_add(Monitor *mon, const QDict *qdict);
|
||||||
int 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);
|
||||||
|
|
||||||
/* serial ports */
|
/* serial ports */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue