Update of /cvsroot/devil-linux/build/config/etc/initrd
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv20818
Modified Files:
linuxrc
Log Message:
print a message if we detect running in QEMU
Index: linuxrc
===================================================================
RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v
retrieving revision 1.117
retrieving revision 1.118
diff -u -d -r1.117 -r1.118
--- linuxrc 27 Dec 2015 21:29:42 -0000 1.117
+++ linuxrc 30 Dec 2015 20:53:04 -0000 1.118
@@ -246,8 +246,11 @@
# virtio
if grep QEMU /proc/cpuinfo > /dev/null ; then
- modprobe virtio_pci
- modprobe virtio_blk
+ $BLUE
+ echo "It seems we're running in QEMU -> autoloading virtio modules"
+ $NORMAL
+ modprobe virtio_pci
+ modprobe virtio_blk
fi
# we load the modules based on information from sysfs
|