[libvirt] [PATCH] Rework configure logic for virtualport support