qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Nbd] NBD_CMD_DISC


From: Eric Blake
Subject: Re: [Qemu-devel] [Nbd] NBD_CMD_DISC
Date: Sat, 9 Apr 2016 17:23:06 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.1

[adding qemu list and Dan into the mix]

On 04/09/2016 05:02 PM, Alex Bligh wrote:
> 
> On 9 Apr 2016, at 22:12, Eric Blake <address@hidden> wrote:
> 
>>> How would the client know that? I'm using Go's TLS library, and there is
>>> no way (as far as I can tell) to ensure that.
>>
>> Likewise - if it's qemu's fault for not flushing the outgoing queue,
>> then what's the right way to get that NBD_CMD_DISC flushed?
> 
> You use GnuTLS. Having just (tonight) written something with
> GnuTLS, I note that
>   gnutls_bye
> is not being called (in qemu) before the connection is closed
> (indeed it's not being called anywhere in qemu). Fixing that
> might help.

Dan, sounds like your QIOChannel code should start using gnutls_bye(),
as something to get into 2.6...


-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]