Re: RFC: APIs to manage KSM

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

 



On 08/31/2012 07:57 AM, Daniel P. Berrange wrote:

>>> some more generic name. eg
>>>
>>>   virNodeSetMemorySharingParameters
>>>
>>> likewise for all the enum/constant names.
>>
>> For that matter, why can't we reuse the existing
>> virDomainSetMemoryParameters() for the enum/constants?  That is, whether
>> or not to use ksm is a memory parameter.
> 
> Actually this is a host level action. There is a separate non-upstreamed
> patch which lets us control whether KSM is used per-guest, which is waiting
> for a fix to QEMU

Oh, I missed virNode vs. virDomain.  Still, consistent naming argues for
virNodeSetMemoryParameters (not MemorySharingParameters), so that we can
add future MemoryParameters unrelated to sharing.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]