[libvirt] [PATCH v2 3/8] cpu: push more parsing logic into common code