mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 19:55:52 +02:00
Libvirt: load vhost_net before libvirtd start.
If the kernel module vhot_net is loaded, the performance of virtio networking is better then without vhost_net. So the module is loaded before libvirtd ist started to get the benefit of vhost_net. Signed-off-by: Jonatan Schlag <jonatan.schlag@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
cf5c7c9f2b
commit
a07b8a2d55
@@ -18,7 +18,7 @@
|
||||
case $1 in
|
||||
start)
|
||||
boot_mesg "Load required kernel modules for Libvirt"
|
||||
modprobe tun
|
||||
modprobe tun vhost_net
|
||||
evaluate_retval
|
||||
boot_mesg "Starting Libvirt Daemon..."
|
||||
loadproc /usr/sbin/libvirtd -d
|
||||
|
||||
Reference in New Issue
Block a user