Re: [PATCH 6/8] kvm: svm: pass MSR_IA32_SPEC_CTRL and MSR_IA32_PRED_CMD down to guest

From: Paolo Bonzini
Date: Tue Jan 09 2018 - 11:06:11 EST


On 09/01/2018 15:22, Konrad Rzeszutek Wilk wrote:
>> + have_spec_ctrl = cpu_has_spec_ctrl();
>> + if (have_spec_ctrl)
>> + pr_info("kvm: SPEC_CTRL available\n");
>> + else
>> + pr_info("kvm: SPEC_CTRL not available\n");
> Perhaps just
>
> pr_info("kvm: SPEC_CTRL %s available\n", have_spec_ctrl ? "" : "not");
>

I don't expect any of these FIXMEs to be ever committed. :)

Paolo