[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] Re: Test failure w/ libguestfs-1.0.61 on RHEL5 -- needs virtio support in guest kernel?



Switched from virtio to e1000, and libguestfs-1.0.61 now Works For Me. (e1000 is more stable in my experience anyhow -- but then, I'm a stick-in-the-mud who doesn't trust virtio-blk either).

See attached patch.
--- libguestfs-1.0.61/src/guestfs.c.orig	2009-07-15 21:44:00.000000000 -0500
+++ libguestfs-1.0.61/src/guestfs.c	2009-07-15 21:44:04.000000000 -0500
@@ -1059,7 +1059,7 @@
     add_cmdline (g, "-net");
     add_cmdline (g, "user,vlan=0");
     add_cmdline (g, "-net");
-    add_cmdline (g, "nic,model=virtio,vlan=0");
+    add_cmdline (g, "nic,model=e1000,vlan=0");
 
     /* These options recommended by KVM developers to improve reliability. */
     if (qemu_supports (g, "-no-hpet"))
--- libguestfs-1.0.61/appliance/kmod.whitelist.in.orig	2009-07-15 22:01:47.000000000 -0500
+++ libguestfs-1.0.61/appliance/kmod.whitelist.in	2009-07-15 22:02:00.000000000 -0500
@@ -9,13 +9,14 @@
 
 # drivers for QEMUs IDE/SCSI device emulation
 cdrom.ko
-i2c-piix4.ko
+e1000.ko
 i2c-core.ko
+i2c-piix4.ko
 ide-*.ko
 libata.ko
 piix.ko
-scsi_transport_spi.ko
 scsi_mod.ko
+scsi_transport_spi.ko
 sd_mod.ko
 sym53c8xx.ko
 
@@ -47,4 +48,4 @@
 exportfs.ko
 xfs.ko
 
-reiserfs.ko
\ No newline at end of file
+reiserfs.ko

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]