On 18/04/18 11:49, Jan Beulich wrote:
>>>> On 18.04.18 at 11:42, <sergey.dya...@citrix.com> wrote:
>> On Wed, 2018-04-18 at 10:30 +0200, Juergen Gross wrote:
>> @@ -119,8 +122,9 @@ static void __init print_details(enum ind_thunk thunk)
>>             boot_cpu_has(X86_FEATURE_RSB_NATIVE)      ? " RSB_NATIVE" : "",
>>             boot_cpu_has(X86_FEATURE_RSB_VMEXIT)      ? " RSB_VMEXIT" : "");
>>  
>> -    printk("XPTI: %s\n",
>> -           boot_cpu_has(X86_FEATURE_NO_XPTI) ? "disabled" : "enabled");
>> +    printk("XPTI: Dom0 %s, DomU (64-bit PV only) %s\n",
>> +           opt_xpti & OPT_XPTI_DOM0 ? "enabled" : "disabled",
>> +           opt_xpti & OPT_XPTI_DOMU ? "enabled" : "disabled");
>>  }
> 
> Ah, yes, making this log message more precise is certainly worthwhile. The
> placement of "(64-bit PV only)" is a little confusing though: I'd put it 
> either
> before the colon or at the end of the line, as it affects Dom0 as much as
> DomU.

I'd prefer the former.


Juergen


_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

Reply via email to