Re: [PATCH 1/6] qemuDomainCreateDeviceRecursive: Report error if mkdir() fails

2020-03-19 Thread Pavel Mores
On Wed, Mar 18, 2020 at 06:32:11PM +0100, Michal Privoznik wrote: > The virFileMakePathWithMode() which is our recursive version of > mkdir() fails, it simply just returns a negative value with errno > set. No error is reported (as compared to virFileTouch() for > instance). > > Signed-off-by:

[PATCH 1/6] qemuDomainCreateDeviceRecursive: Report error if mkdir() fails

2020-03-18 Thread Michal Privoznik
The virFileMakePathWithMode() which is our recursive version of mkdir() fails, it simply just returns a negative value with errno set. No error is reported (as compared to virFileTouch() for instance). Signed-off-by: Michal Privoznik --- src/qemu/qemu_domain.c | 6 +- 1 file changed, 5