Pages

virt-install : ERROR the CPU is incompatible with host CPU: unknown host CPU



While installing operating system using the command virt-intsll or libvirt we might encounter the above error. The error might occur even if the cpu model is a popular one.

In some forums it is mentioned that this error could be because nx/xd feature of the CPU is not enabled, but some BIOS don't have this nx/xd feature at all making it very difficult to change or verify it.
The only work around that helped was using the cpu as "clear cpu configuration". That is while running the virt-install command pass the option "clear" for --cpu as shown below.



If you are using libvirt then the option is available under hardware details->processor as shown in the figure below.


Setting this option might help get around the error.


1 comment: