On 23.05.2013 15:26, Viktor Mihajlovski wrote:
> Currently, the controllers argument to virCgroupDetect acts both as
> a result filter and a required controller specification, which is
> a bit overloaded. If both functionalities are needed, it would be
> better to have them seperated into a filter and a requirement mask.
> The only situation where it is used today is to ensure that only
> CPU related controllers are used for the VCPU directories. But here
> we clearly do not want to enforce the existence of cpu, cpuacct and
> specifically not cpuset at the same time.
> This commit changes the semantics of controllers to "filter only".
> Should a required mask ever be needed, more work will have to be done.
> 
> Signed-off-by: Viktor Mihajlovski <[email protected]>
> ---
>  src/util/vircgroup.c  |    8 ++++----
>  tests/vircgrouptest.c |    4 ++--
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 

ACKed and pushed.

Michal

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to