Re: [libvirt] [PATCH 0 of 2] [RFC] Add cgroup manipulation and LXC driver support

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

 



DB> The trouble is then libvirt would be dictating policy to the host
DB> admin, because once you mount a particular controller, you can't
DB> change the wayu its mounted. So if libvirt mounted each controller
DB> separately, then the admin couldn't have a mount with multiple
DB> controllers active, and vica-verca.

Oh, I see.  I had left that out of my quick test.  I had assumed that
it would behave as you would expect.

DB> The kernel cgroups interface really sucks in this regard :-(

I was going to go with "surprisingly unideal" ...but yeah.

DB> At the same time having the controllers mounted is mandatory for
DB> libvirt to work and asking the admin to set things up manually
DB> also sucks. So perhaps we'll need to mount them automatically, but
DB> make this behaviuour configurable in some way, so admin can
DB> override it

Perhaps we can:

 - Have a list of controllers we use (memory and devices so far)
 - Create each group in all mounts required to satisfy our necessary
   controllers
 - Select the appropriate mount when setting a cont.key value

It will muck things up a bit, but I think it might be doable.

-- 
Dan Smith
IBM Linux Technology Center
Open Hypervisor Team
email: danms@xxxxxxxxxx

Attachment: pgpGdaC0Ehy5b.pgp
Description: PGP 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]