You are not logged in.
Hi all,
I'm attempting to set up a virtual machine with KVM, following the wiki: https://wiki.archlinux.org/index.php/KVM
I noticed that the virtio module was not getting loaded at boot, so I tried following the example here: https://wiki.archlinux.org/index.php/Ke … e_handling
I created the following file
# /etc/modprobe.d/virtio.conf
# Load virtio
options virtio
I then run sudo modprobe virtio, and get the following error:
libkmod: kmod_config_parse: /etc/modprobe.d/virtio.conf line 3: ignoring bad line starting with 'options'
What am I missing?
Last edited by LeftyAce (2019-10-07 14:41:34)
Offline
You aren't passing any options...
Offline
Aha. What is the correct syntax when I don't want to pass any options, I just want to force the module to be loaded? Simply removing "options" and leaving only "virtio" as the line generates an error "...ignoring bad line starting with 'virtio' "
Offline
It's documented on the page you linked to:
https://wiki.archlinux.org/index.php/Ke … th_systemd
If that errors out, what is the output of `modprobe -v virtio`?
Offline
That worked great, thanks! Next time I'll try reading the whole page :-)
Offline