[libvirt] [PATCH] test: Refactor vcpu pinning and vcpu info retrieval