[libvirt] [PATCH 1/3] Add helper functions for network tests