Re: API to set cpuset.cpu_exclusive flag

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

 



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@xxxxxxxxxx>
To: Peeyush Gupta <gpeeyush@xxxxxxxxx>
Cc: "libvirt-users@xxxxxxxxxx" <libvirt-users@xxxxxxxxxx>
Sent: Wednesday, 24 July 2013 4:35 PM
Subject: Re: 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 :|


_______________________________________________
libvirt-users mailing list
libvirt-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvirt-users

[Index of Archives]     [Virt Tools]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux