Add vhost-net to kvm.modules
This commit is contained in:
parent
45e28a1ee3
commit
9890a7aa2a
@ -3,9 +3,11 @@
|
|||||||
if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then
|
if [ $(grep -c vmx /proc/cpuinfo) -ne 0 ]; then
|
||||||
modprobe -b kvm-intel >/dev/null 2>&1
|
modprobe -b kvm-intel >/dev/null 2>&1
|
||||||
modprobe -b virtio-net >/dev/null 2>&1
|
modprobe -b virtio-net >/dev/null 2>&1
|
||||||
|
modprobe -b vhost-net >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then
|
if [ $(grep -c svm /proc/cpuinfo) -ne 0 ]; then
|
||||||
modprobe -b kvm-amd >/dev/null 2>&1
|
modprobe -b kvm-amd >/dev/null 2>&1
|
||||||
modprobe -b virtio-net >/dev/null 2>&1
|
modprobe -b virtio-net >/dev/null 2>&1
|
||||||
|
modprobe -b vhost-net >/dev/null 2>&1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user