[PATCH 0/5] Use virXXXEndAPI() more