mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-17 21:26:13 -07:00
kill dead nic unplug code.
Cleanup on unplug happens via qdev->exit() callback now. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
1cc33683c8
commit
9ad4531e1e
4 changed files with 0 additions and 48 deletions
4
sysemu.h
4
sysemu.h
|
|
@ -202,17 +202,13 @@ extern DriveInfo *drive_init(QemuOpts *arg, void *machine, int *fatal_error);
|
|||
|
||||
/* device-hotplug */
|
||||
|
||||
typedef int (dev_match_fn)(void *dev_private, void *arg);
|
||||
|
||||
DriveInfo *add_init_drive(const char *opts);
|
||||
void destroy_nic(dev_match_fn *match_fn, void *arg);
|
||||
|
||||
/* pci-hotplug */
|
||||
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 pci_device_hot_remove_success(PCIDevice *dev);
|
||||
|
||||
/* serial ports */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue