Re: [PATCH] Fix failure to detect missing cgroup partitions

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

 



On 05/16/2013 11:49 AM, Daniel P. Berrange wrote:
> From: "Daniel P. Berrange" <berrange@xxxxxxxxxx>
> 
> Change bbe97ae968eba60b71e0066d49f9fc909966d9d6 caused the
> QEMU driver to ignore ENOENT errors from cgroups, in order
> to cope with missing /proc/cgroups. This is not good though
> because many other things can cause ENOENT and should not
> be ignored. The callers expect to see ENXIO when cgroups
> are not present, so adjust the code to report that errno
> when /proc/cgroups is missing
> 
> Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
> ---
>  src/qemu/qemu_cgroup.c | 3 +--
>  src/util/vircgroup.c   | 7 ++++++-
>  2 files changed, 7 insertions(+), 3 deletions(-)
> 

ACK.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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