[libvirt] [PATCH v2 25/33] qemu: Make virQEMUCapsInitCPUModel testable