On 04/12/20 18:12, Sean Christopherson wrote:
Assuming that's
the case, adding helpers in cpuid.h to detect guest support for SPEC_CTRL (and
maybe for PRED_CMD?) would be helpful.  It'd reduce duplicate code and document
that KVM allows cross-vendor emulation.  The condition for SPEC_CTRL support is
especially long.

That's a great idea nevertheless.

Paolo

Reply via email to