mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +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
@@ -33,7 +33,7 @@ DIR_APP = $(DIR_SRC)/$(THISAPP)
|
||||
TARGET = $(DIR_INFO)/$(THISAPP)
|
||||
SUP_ARCH = i586 x86_64
|
||||
PROG = libvirt
|
||||
PAK_VER = 8
|
||||
PAK_VER = 9
|
||||
|
||||
DEPS = "libpciaccess libyajl ncat qemu"
|
||||
|
||||
|
||||
@@ -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