[libvirt] [PATCH] tests: avoid data race