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

Daniel P. Berrange berrange at redhat.com
Wed Jul 24 11:05:15 UTC 2013


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




More information about the libvirt-users mailing list