[libvirt] [PATCH] tests: avoid compiler warning