[libvirt] [RFC] Refactoring bridge driver for portability