
Andrea Bolognani wrote:
On Thu, Jun 13, 2024 at 07:45:52PM GMT, Roman Bogorodskiy wrote:
My configuration is the same (obtained from copying the file shipped as /usr/local/share/examples/libvirt/networks/default.xml, which is identical to src/network/default.xml.in in the libvirt tree) and I get an error when I try to start the network:
# virsh net-start default error: Failed to start network default error: Unable to create bridge device: Invalid argument
The debug log reveals the source of the error to be
virNetDevBridgeCreate:474
I don't understand how that would work for you. My setup is completely vanilla, just a plain FreeBSD 14.1 install. The only thing that could possibly be making any difference is that the host's network interface is a wireless one.
Looks like you don't have the if_bridge kernel module loaded.
If you run 'virt-host-validate', it should show if something's missing.
Yeah, that was it. Probably worth adding a hint to the message displayed upon package installation?
It's already referring to https://libvirt.org/drvbhyve.html which mentions that additional kernel modules should be loaded, so I think that should be good enough. Roman