Re: [PATCH v2 4/5] qemuPrepareNVRAM: Switch to VIR_AUTOCLOSE

2022-02-11 Thread Daniel P . Berrangé
On Fri, Feb 11, 2022 at 01:30:28PM +0100, Michal Privoznik wrote: > Nothing inside the qemuPrepareNVRAM function relies on @srcFD > being closed early and nothing closes it early. It's okay then to > close it automatically when leaving the function. > > Signed-off-by: Michal Privoznik > --- >

[PATCH v2 4/5] qemuPrepareNVRAM: Switch to VIR_AUTOCLOSE

2022-02-11 Thread Michal Privoznik
Nothing inside the qemuPrepareNVRAM function relies on @srcFD being closed early and nothing closes it early. It's okay then to close it automatically when leaving the function. Signed-off-by: Michal Privoznik --- src/qemu/qemu_process.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)