Re: [PATCH 3/3] qemu: Prohibit getting the numa parameters if mode is not strict

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

 



On 05/24/2013 11:08 AM, Osier Yang wrote:
> I don't see any reason to getting the numa parameters if mode is
> not strict, as long as setNumaParameters doesn't allow to set
> "nodeset" if the mode is not strict, and cpuset.mems only understand
> "strict" mode.
> 

NACK, this makes sense for 'interleave' as well and checking this adds
more code without any special benefits.  This also makes the API fail
when ran with default params even when the caller only wants to know
what mode the domain was started with.  The worst thing that can happen
now is that the caller will not get the second parameter which is OK
(especially when it makes sense).

Martin

--
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]