[qemu] Add vhost-net to kvm.modules

Justin M. Forbes jforbes at fedoraproject.org
Fri Jan 27 19:37:50 UTC 2012


commit abd594bf31fbbd0db32b7e6daaaa0b98ee2776ab
Author: Justin M. Forbes <jforbes at redhat.com>
Date:   Fri Jan 27 13:37:44 2012 -0600

    Add vhost-net to kvm.modules

 kvm.modules |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/kvm.modules b/kvm.modules
index 27bffd7..165f2d7 100755
--- a/kvm.modules
+++ b/kvm.modules
@@ -3,9 +3,11 @@
 if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then 
     modprobe -b kvm-intel >/dev/null 2>&1
     modprobe -b virtio-net >/dev/null 2>&1
+    modprobe -b vhost-net >/dev/null 2>&1
 fi
 
 if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then 
     modprobe -b kvm-amd >/dev/null 2>&1
     modprobe -b virtio-net >/dev/null 2>&1
+    modprobe -b vhost-net >/dev/null 2>&1
 fi


More information about the scm-commits mailing list