[PATCH v14 06/15] qemu_cgroup: Don't ignore ENOENT in qemuCgroupAllowDevicesPaths()
Peter Krempa
pkrempa at redhat.com
Thu Jul 28 08:01:47 UTC 2022
On Wed, Jul 27, 2022 at 12:34:52 +0200, Michal Privoznik wrote:
> There's no need to skip over ENOENT error in
> qemuCgroupAllowDevicesPaths(). The path must exists when
> qemuCgroupAllowDevicePath() is called because of virFileExists()
> check done right above.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/qemu/qemu_cgroup.c | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list