[libvirt] [RFC PATCH v2 02/12] domain_conf: introduce cpu def helpers