I am having problems with starting a virtual machine using virsh
.
When I do virsh list --all
, I see the VM named "ubuntu20.04" and it's state if shut off. Then I do virsh start ubuntu20.04
and get this error:
error: Failed to start domain 'ubuntu20.04'
error: internal error: /run/wrappers/bin/qemu-bridge-helper --use-vnet --br=virbr0 --fd=27: failed to communicate with bridge helper: Transport endpoint is not connected
stderr=/run/wrappers/bin/qemu-bridge-helper: cannot run `/run/libvirt/nix-helpers/qemu-bridge-helper': No such file or directory
I see this problem and think of qemu
not initialized or connected properly and turn on virt-manager
to see what's the problem and no problem arises there.
After starting virt-manager
I have no problems with using virsh start
.
Using NixOS 22.05.
Virsh is connected to the same qemu:///session
URI as virt-manager
.