Subject: Re: [PATCH v3 13/18] cxl: sysfs support for guests

From: Frederic Barrat <[email-masked]>
Date: Tue, 9 Feb 2016 16:21:19 +0100

Le 08/02/2016 04:02, Stewart Smith a écrit :
> Frederic Barrat <[email-masked]> writes:
>> --- a/Documentation/ABI/testing/sysfs-class-cxl
>> +++ b/Documentation/ABI/testing/sysfs-class-cxl
>> @@ -183,7 +183,7 @@ Description:    read only
>>                   Identifies the revision level of the PSL.
>>   Users:		https://github.com/ibm-capi/libcxl
>>
>> -What:           /sys/class/cxl/<card>/base_image
>> +What:           /sys/class/cxl/<card>/base_image (not in a guest)
>
> Is this going to be the case for KVM guest as well as PowerVM guest?

That's too early to say.
The entries we've removed are because the information is filtered by 
pHyp and not available to the OS. Some of it because nobody thought it 
would be useful, some of it because it's not meant to be seen by the OS. 
For KVM, if the card can be shared between guests, I would expect the 
same kind of restrictions.

   Fred