]> git.proxmox.com Git - qemu.git/blobdiff - hw/sun4u.c
Fix pci_add nic not to exit on bad model
[qemu.git] / hw / sun4u.c
index 37e3dda41b9c9dd46b861761f46dc42b17440907..58d708a72f8c21de222009c24a7dbc7e9ffc5094 100644 (file)
@@ -610,7 +610,7 @@ static void sun4uv_init(ram_addr_t RAM_size,
     }
 
     for(i = 0; i < nb_nics; i++)
-        pci_nic_init(&nd_table[i], "ne2k_pci", NULL);
+        pci_nic_init_nofail(&nd_table[i], "ne2k_pci", NULL);
 
     if (drive_get_max_bus(IF_IDE) >= MAX_IDE_BUS) {
         fprintf(stderr, "qemu: too many IDE bus\n");