Get bridged network working on the Flatpak
The libvirt network bridge is a very desirable feature that we have. It has been problematic across various downstreams because of all sorts of settings: binaries/conf files in various prefixes, user/group permissions, and whatnot.
It would be great to get this working in the flatpak sandbox with zero or minimum requirement of interaction with host APIs.
What I could investigate so far is...
- These paths shouldn't be hardcoded: src/util-app.vala#L246
libvirt needs to find the qemu-bridge-helper binary.
@teuf pointed at
libvirt/m4/virt-driver-qemu.m4. By replacing
/app/libexec/qemu-bridge-helperI managed to get libvirt to find it.
- Instead of patching libvirt, it would be nice if this could either be a build option or a config we could set.