[libvirt] [PATCH] tests: avoid crash when run under gcov