qemu kvm: operation not permitted fix

Thu, Jan 18, 2024 One-minute read

qemu kvm: operation not permitted fix

When starting a bridged VM and hit with:

Error starting domain: internal error: /usr/libexec/qemu-bridge-helper --use-vnet --br=virbr0 --fd=20: failed to communicate with bridge helper: Transport endpoint is not connected
stderr=failed to create tun device: Operation not permitted

It is likely that qemu has been updated and changed the bridge helper permissions.

Fix it with:

sudo chmod u+s /usr/lib/qemu/qemu-bridge-helper

Tags:

#qemu #vm #kvm