[libvirt] [PATCH] fix class type instantiated when listing network ports