[libvirt] [PATCH 05/10] util: cgroup: Allow ignoring EACCES in virCgroup(Allow|Deny)DevicePath
Ján Tomko
jtomko at redhat.com
Wed Feb 17 08:17:00 UTC 2016
On Tue, Feb 16, 2016 at 04:29:47PM +0100, Peter Krempa wrote:
> When adding disk images to ACL we may call those functions on NFS
> shares. In that case we might get an EACCES, which isn't really relevant
> since NFS would not hold a block device. This patch adds a flag that
> allows to stop reporting an error on EACCES to avoid spaming logs.
spamming
>
> Currently there's no functional change.
> ---
> src/lxc/lxc_cgroup.c | 12 ++++++------
> src/lxc/lxc_driver.c | 9 ++++++---
> src/qemu/qemu_cgroup.c | 20 ++++++++++----------
> src/util/vircgroup.c | 38 +++++++++++++++++++++++++++++++++-----
> src/util/vircgroup.h | 6 ++++--
> 5 files changed, 59 insertions(+), 26 deletions(-)
>
ACK
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20160217/7b4aa4a7/attachment-0001.sig>
More information about the libvir-list
mailing list