[Libvir] PATCH 1/2 QEMU driver - internal driver

Jim Meyering jim at meyering.net
Wed Feb 14 13:13:19 UTC 2007


"Daniel P. Berrange" <berrange at redhat.com> wrote:
> The attached patch implements the library driver for QEMU.
...
> +int qemuClose  (virConnectPtr conn) {
> +    if (conn->handle != -1) {
> +        close(conn->handle);
> +        conn->handle = -1;
> +    }
> +    return 0;
> +}

Hi Dan,

In follow-up discussion you said you knew of other places
where it'd be good to check for less-common failures.
This "close" is probably one of them.




More information about the libvir-list mailing list