[libvirt PATCH 6/9] cpu: Validate XML