[PATCH 4/6] qemuDomainSaveImageOpen: Automatically close 'fd' if unneeded

Ján Tomko jtomko at redhat.com
Wed Apr 22 16:52:31 UTC 2020

On a Wednesday in 2020, Peter Krempa wrote:
>Use VIR_AUTOCLOSE to declare it and remove all internal closing of the
>filedescriptor. This will allow getting rid of 'error' completely.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_driver.c | 12 +++++++-----
> 1 file changed, 7 insertions(+), 5 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200422/10fa1b69/attachment-0001.sig>

More information about the libvir-list mailing list