[libvirt] [PATCH 1/4] tests: split out common qemu driver initialization