diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-05 15:48:22 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-10-06 14:36:09 -0500 |
commit | e52eb611dbfac45ec3209f3549503aa4ba2ca2ce (patch) | |
tree | 8d67c1f7f36bec5bdbfb0889f2a50032c248e0da /hw/pci-hotplug.c | |
parent | 0ca9f8a42d64571d3310ea25a63588d77efd58c3 (diff) | |
download | qemu-e52eb611dbfac45ec3209f3549503aa4ba2ca2ce.zip qemu-e52eb611dbfac45ec3209f3549503aa4ba2ca2ce.tar.gz qemu-e52eb611dbfac45ec3209f3549503aa4ba2ca2ce.tar.bz2 |
Revert "Fix exit on 'pci_add' Monitor command"
This reverts commit 0148fde54c2478ea8a47c8dbfe4c0fb8bda4d996.
As requested by Luiz.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pci-hotplug.c')
-rw-r--r-- | hw/pci-hotplug.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/pci-hotplug.c b/hw/pci-hotplug.c index f781386..44f6a2f 100644 --- a/hw/pci-hotplug.c +++ b/hw/pci-hotplug.c @@ -46,10 +46,6 @@ static PCIDevice *qemu_pci_hot_add_nic(Monitor *mon, monitor_printf(mon, "Parameter addr not supported\n"); return NULL; } - - if (nd_table[ret].model && !pci_nic_supported(nd_table[ret].model)) - return NULL; - return pci_nic_init(&nd_table[ret], "rtl8139", devaddr); } |