On Thu, Jul 25, 2013 at 05:48:54PM +0800, Gao feng wrote:
On 07/25/2013 05:36 PM, Daniel P. Berrange wrote:
> On Thu, Jul 25, 2013 at 05:30:20PM +0800, Gao feng wrote:
>> On 07/23/2013 11:21 PM, Daniel P. Berrange wrote:
>>> From: "Daniel P. Berrange" <berrange(a)redhat.com>
>>>
>>> This is a patch series which adds support for using systemd-machined
>>> for creating cgroups. The first 12 patches are all really just cleanups
>>> and refactoring. The actual systemd code is the last patch, but at time
>>> of posting it doesn't quite work properly. Given the freeze, I'd
like
>>> to get the first 12 patches merged, while I iron out the remaining
>>> problems with the last patch.
>>>
>>
>> Right now cgroup is created and set by libvirt itself, in future
>> libvirt will create and setup the cgroup for domain through systemd?
>
> Yes, systemd is starting to take over all management for cgroups. Initially
> we'll defer to systemd for creation of the cgroups. Eventually though, all
> writes to the cgroups will have to go via systemd.
Get it, hope we can remove some redundance codes.
It is pretty unlikely that we'll be able to delete any of our existing
cgroups code. We absolutely need to continue to support non-systemd
based deployments of libvirt for Debian/Ubuntu/*BSD and older RHEL-6
etc
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|