[libvirt-users] API to set cpuset.cpu_exclusive flag

Peeyush Gupta gpeeyush at ymail.com
Wed Jul 24 11:44:34 UTC 2013


I guess it could be helpful. I mean I wont have to do it through virsh/echo/explicitly everytime. If I have an API for cgroup settings, I can do it easily through my code.
 
Thanks.
~Peeyush Gupta


________________________________
 From: Daniel P. Berrange <berrange at redhat.com>
To: Peeyush Gupta <gpeeyush at ymail.com> 
Cc: "libvirt-users at redhat.com" <libvirt-users at redhat.com> 
Sent: Wednesday, 24 July 2013 4:35 PM
Subject: Re: [libvirt-users] API to set cpuset.cpu_exclusive flag
 

On Wed, Jul 24, 2013 at 06:59:29PM +0800, Peeyush Gupta wrote:
> Hi all,
> 
> I have been trying to set cpu_exclusive flag. Now I can do it
> using "echo". I want to know is there any other way (an API)
> to set this flag? Is it possible to set this flag using API?

There's no API in libvirt for setting this, and I don't really see the
point in this cgroup setting at all. It doesn't offer any critical
functionality that you can't achieve by just explicitly configuring
cgroups to not overlap.

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 :|
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130724/f2d6e0f5/attachment.htm>


More information about the libvirt-users mailing list