Red Hat Bugzilla – Bug 1275088
Intel Core i7 4790k (Haswell, Devil's Canyon) CPU not properly detected
Last modified: 2016-04-13 02:46:43 EDT
Building oVirt lab, engine/host on single system. CentOS 7.1
Defined a datacenter with CPU-type "Haswell" for my host with an i7 4790k CPU. The 4790 CPU is Haswell but the 4790k is named "Devil's Canyon". I assumed this was simply an unlocked Haswell CPU.
But I get error ID 515:
Host moved to Non-Operational state as host does not meet the cluster's minimum CPU level. Missing CPU features : model_Haswell
Is this a bug? Is there a workaround?
I made another datacenter/cluster, this time of cpu-type Sandybridge. I was able to add the host to the cluster, but now virtual machines will not start.
"VM c7-1 is down with error. Exit message: internal error: Cannot find suitable CPU model for given data."
I assume this is because the virtual machines are seeing the CPUs as Haswell and are expecting Sandybridge because of the cluster definition.
I guess this is not a bug the 'K'(Devil's Canyon) designated Haswell CPUs have some features disabled. http://ark.intel.com/compare/75122,80806,80807
I have not correlated the features listed in the Intel docs to the flags in /proc/cpuinfo, but I was able to work around the issue using these settings in /usr/share/libvirt/cpu_map.xml:
<!-- <feature name='hle'/> -->
<!-- <feature name='rtm'/> -->
do we(you) need a new CPU definition?
(In reply to Michal Skrivanek from comment #3)
> do we(you) need a new CPU definition?
Probably not, as the definition from comment 2 corresponds to Haswell-noTSX. Jirka can you please confirm? But this might be present in rhel-7.2 (centos 7.2) though. Thanks.
To firstname.lastname@example.org, please provide also exact versions of used components, specifically libvirt in this case. Thanks.
Yeah, the CPU is apparently Haswell-noTSX, which was added in 7.2. SandyBridge should work from libvirt's point of view. Just to be sure, could you provide "virsh capabilities" output (in addition to the libvirt version used)?
any news? otherwise closing as working in 3.6
The Haswell-noTSX has been added to libvirt in centos 7.2 -> closing as currentrelease