]> git.proxmox.com Git - qemu-server.git/blobdiff - qemu.init.d
load vhost_net module
[qemu-server.git] / qemu.init.d
index 53c3ee2d81e79ea749b6d060a9b4487c67baf856..333c0acc76d5ce334e86b0dfe90283cd28b3cef2 100644 (file)
@@ -23,6 +23,8 @@ case "$1" in
        (egrep '^flags.*vmx' /proc/cpuinfo >/dev/null && modprobe -q kvm-intel) || 
        echo "unable to load kvm module"
 
+       modprobe -q vhost_net || true
+
        # recent distributions use tmpfs for /var/run
        # and /var/lock to avoid to clean it up on every boot.
        # they also assume that init scripts will create