Do not use low-level commands like qemu-*
.
Use only high-level libvirt client tools like virsh
, virt-install
, or virt-manager
.
Then you can attach a virtual bridge interface to a VM like this:
virsh attach-interface VM bridge VIF --model virtio --persistent