mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Revert "Fix exit on 'pci_add' Monitor command"
This reverts commit 0148fde54c
.
As requested by Luiz.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
0ca9f8a42d
commit
e52eb611db
3 changed files with 0 additions and 16 deletions
11
hw/pci.c
11
hw/pci.c
|
@ -833,17 +833,6 @@ static const char * const pci_nic_names[] = {
|
|||
NULL
|
||||
};
|
||||
|
||||
int pci_nic_supported(const char *model)
|
||||
{
|
||||
int i;
|
||||
|
||||
for (i = 0; pci_nic_names[i]; i++)
|
||||
if (strcmp(model, pci_nic_names[i]) == 0)
|
||||
return 1;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Initialize a PCI NIC. */
|
||||
PCIDevice *pci_nic_init(NICInfo *nd, const char *default_model,
|
||||
const char *default_devaddr)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue