Blame qemu-0.9.1-nic-defaults.patch

Daniel P. Berrange e62519
diff -rup qemu-0.9.1.orig/hw/pc.c qemu-0.9.1.new/hw/pc.c
Daniel P. Berrange e62519
--- qemu-0.9.1.orig/hw/pc.c	2008-01-06 14:38:42.000000000 -0500
Daniel P. Berrange e62519
+++ qemu-0.9.1.new/hw/pc.c	2008-01-08 17:06:27.000000000 -0500
Daniel P. Berrange e62519
@@ -913,7 +913,7 @@ static void pc_init1(int ram_size, int v
Daniel P. Berrange 304b40
         nd = &nd_table[i];
Daniel P. Berrange 304b40
         if (!nd->model) {
Daniel P. Berrange 304b40
             if (pci_enabled) {
Daniel P. Berrange 304b40
-                nd->model = "ne2k_pci";
Daniel P. Berrange 304b40
+                nd->model = "rtl8139";
Daniel P. Berrange 304b40
             } else {
Daniel P. Berrange 304b40
                 nd->model = "ne2k_isa";
Daniel P. Berrange 304b40
             }
Daniel P. Berrange e62519
diff -rup qemu-0.9.1.orig/vl.c qemu-0.9.1.new/vl.c
Daniel P. Berrange e62519
--- qemu-0.9.1.orig/vl.c	2008-01-06 14:38:42.000000000 -0500
Daniel P. Berrange e62519
+++ qemu-0.9.1.new/vl.c	2008-01-08 17:05:40.000000000 -0500
Daniel P. Berrange e62519
@@ -8787,7 +8787,7 @@ int main(int argc, char **argv)
Daniel P. Berrange 304b40
 	    char buf[1024];
Daniel P. Berrange e62519
             if (net_boot & (1 << i)) {
Daniel P. Berrange e62519
                 if (model == NULL)
Daniel P. Berrange e62519
-                    model = "ne2k_pci";
Daniel P. Berrange e62519
+                    model = "rtl8139";
Daniel P. Berrange e62519
                 snprintf(buf, sizeof(buf), "%s/pxe-%s.bin", bios_dir, model);
Daniel P. Berrange e62519
                 if (get_image_size(buf) > 0) {
Daniel P. Berrange e62519
                     if (nb_option_roms >= MAX_OPTION_ROMS) {