Re: [PATCH v2 2/2] lxc: Resolve issue with GetScheduler APIs for non running domain

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

 



On Mon, Jun 10, 2013 at 12:06:46PM -0400, John Ferlan wrote:
> As a consequence of the cgroup layout changes from commit 'cfed9ad4', the
> lxcDomainGetSchedulerParameters[Flags]()' and lxcGetSchedulerType() APIs
> failed to return data for a non running domain.  This can be seen through
> a 'virsh schedinfo <domain>' command which returns:
> 
> Scheduler      : Unknown
> error: Requested operation is not valid: cgroup CPU controller is not mounted
> 
> Prior to that change a non running domain would return:
> 
> Scheduler      : posix
> cpu_shares     : 0
> vcpu_period    : 0
> vcpu_quota     : 0
> emulator_period: 0
> emulator_quota : 0
> 
> This patch will restore the capability to return configuration only data
> for a non running domain regardless of whether cgroups are available.
> ---
>  src/lxc/lxc_driver.c | 11 ++++++++++-
>  1 file changed, 10 insertions(+), 1 deletion(-)

ACK

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

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