[libvirt] [PATCH] Ignore unused streams in virStreamAbort

Eric Blake eblake at redhat.com
Tue Aug 16 14:33:27 UTC 2011


On 08/16/2011 04:44 AM, Jiri Denemark wrote:
> When virStreamAbort is called on a stream that has not been used yet,
> quite confusing error is returned: "this function is not supported by
> the connection driver". Let's just ignore such streams as there's
> nothing to abort anyway.
> ---
>   src/libvirt.c |    8 ++++++--
>   1 files changed, 6 insertions(+), 2 deletions(-)

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org




More information about the libvir-list mailing list