mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06: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
|
@ -702,9 +702,6 @@ static void pciej_write(void *opaque, uint32_t addr, uint32_t val)
|
|||
QLIST_FOREACH_SAFE(qdev, &bus->children, sibling, next) {
|
||||
dev = DO_UPCAST(PCIDevice, qdev, qdev);
|
||||
if (PCI_SLOT(dev->devfn) == slot) {
|
||||
#if defined (TARGET_I386)
|
||||
pci_device_hot_remove_success(dev);
|
||||
#endif
|
||||
qdev_free(qdev);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue