[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v8 3/9] xen/x86: support per-domain flag for xpti



On 18/04/18 11:49, Jan Beulich wrote:
>>>> On 18.04.18 at 11:42, <sergey.dyasli@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.