Re: [libvirt] [PATCH 3/3] cleanup: Kill usage of access(PATH, F_OK) in favor of virFileExists()

2013-09-16 Thread Peter Krempa
On 09/13/13 17:31, Martin Kletzander wrote: On 09/13/2013 04:19 PM, Peter Krempa wrote: Semantics of the libvirt helper are more clear. This change also allows to clean up some pieces of code. --- [...] diff --git a/src/storage/storage_backend_fs.c b/src/storage/storage_backend_fs.c

[libvirt] [PATCH 3/3] cleanup: Kill usage of access(PATH, F_OK) in favor of virFileExists()

2013-09-13 Thread Peter Krempa
Semantics of the libvirt helper are more clear. This change also allows to clean up some pieces of code. --- src/openvz/openvz_conf.c | 2 +- src/parallels/parallels_storage.c | 2 +- src/qemu/qemu_capabilities.c | 4 ++-- src/qemu/qemu_cgroup.c| 6 +++---

Re: [libvirt] [PATCH 3/3] cleanup: Kill usage of access(PATH, F_OK) in favor of virFileExists()

2013-09-13 Thread Martin Kletzander
On 09/13/2013 04:19 PM, Peter Krempa wrote: Semantics of the libvirt helper are more clear. This change also allows to clean up some pieces of code. --- src/openvz/openvz_conf.c | 2 +- src/parallels/parallels_storage.c | 2 +- src/qemu/qemu_capabilities.c | 4 ++--