[libvirt] [PATCHv2 1/6] interface: Refactor udev bridge to helper func