[libvirt] [PATCH V3] Expose resource control capabilites on cache bank

Martin Kletzander mkletzan at redhat.com
Thu Apr 6 13:04:08 UTC 2017


On Thu, Apr 06, 2017 at 01:25:35PM +0100, Daniel P. Berrange wrote:
>On Thu, Apr 06, 2017 at 08:20:56PM +0800, Eli Qiao wrote:
>> This patch is based on Martin's cache branch.
>>
>> This patch amends the cache bank capability as follow:
>>
>> <cache>
>>   <bank id='0' level='3' type='unified' size='15360' unit='KiB' cpus='0-5'>
>>     <control min='768' unit='KiB' type='unified' nallocations='4'/>
>>   </bank>
>
>Why do we need to report 'type' on both bank & control elements. Are they
>really expected to have different values ?
>

That's one of my questions I had way back in some of the previous
discussions.  Did not get the answer.  I suspect there is a reason to
whether CDP is enabled or not and it is not just the type of the cache
bank itself.  If it is, then CDP makes no sense for us at all, actually
for anyone who has access to cache information and that would mean bad
design of that thing.  And that's not something I would expect from this
functionality.

>
>Regards,
>Daniel
>--
>|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
>|: http://libvirt.org              -o-             http://virt-manager.org :|
>|: http://entangle-photo.org       -o-    http://search.cpan.org/~danberr/ :|
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20170406/26e278d7/attachment-0001.sig>


More information about the libvir-list mailing list