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

Daniel P. Berrangé berrange at redhat.com
Fri Feb 11 12:40:09 UTC 2022


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 <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_process.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange at redhat.com>


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




More information about the libvir-list mailing list