Force a specific network NIC model (allows to work with latest qemu from SVN).
authorRichard Jones <rjones@redhat.com>
Wed, 22 Apr 2009 18:15:11 +0000 (19:15 +0100)
committerRichard Jones <rjones@redhat.com>
Wed, 22 Apr 2009 18:15:11 +0000 (19:15 +0100)
src/guestfs.c

index 1642019..dec9a1b 100644 (file)
@@ -766,7 +766,7 @@ guestfs_launch (guestfs_h *g)
     add_cmdline (g, "-net");
     add_cmdline (g, "user,vlan=0");
     add_cmdline (g, "-net");
-    add_cmdline (g, "nic,vlan=0");
+    add_cmdline (g, "nic,model=rtl8139,vlan=0");
     incr_cmdline_size (g);
     g->cmdline[g->cmdline_size-1] = NULL;