qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Laurent Vivier <lvivier@redhat.com>
To: Jason Wang <jasowang@redhat.com>, Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, "Paul Durrant" <paul@xen.org>,
	"Thomas Huth" <thuth@redhat.com>,
	"Daniel P. Berrangé" <berrange@redhat.com>,
	"Dr. David Alan Gilbert" <dgilbert@redhat.com>,
	"Greg Kurz" <groug@kaod.org>,
	"Stefano Stabellini" <sstabellini@kernel.org>,
	"David Gibson" <david@gibson.dropbear.id.au>,
	"Eric Blake" <eblake@redhat.com>,
	xen-devel@lists.xenproject.org,
	"Michael S. Tsirkin" <mst@redhat.com>,
	"Stefan Weil" <sw@weilnetz.de>,
	"Paolo Bonzini" <pbonzini@redhat.com>,
	"Samuel Thibault" <samuel.thibault@ens-lyon.org>,
	"Anthony Perard" <anthony.perard@citrix.com>,
	"Ralph Schmieder" <ralph.schmieder@gmail.com>,
	"Stefano Brivio" <sbrivio@redhat.com>
Subject: Re: [PATCH v13 00/17] qapi: net: add unix socket type support to netdev backend
Date: Fri, 21 Oct 2022 10:43:59 +0200	[thread overview]
Message-ID: <b595c7fe-bf31-7cc1-e7ed-cad390875bad@redhat.com> (raw)
In-Reply-To: <CACGkMEsnq2pFaLwBpzpCSiD8jZrx77SUTn_6JhGG9jKe1PJkwA@mail.gmail.com>

On 10/21/22 08:50, Jason Wang wrote:
> On Fri, Oct 21, 2022 at 2:46 PM Markus Armbruster <armbru@redhat.com> wrote:
>>
>> Jason Wang <jasowang@redhat.com> writes:
>>
>>> I've queued this version and will send pull requests shortly.
>>>
>>> Any future comment we can do patches on top.
>>
>> Please give Laurent and me a few hours to try to improve PATCH 17's
>> commit message.  Which you could then integrate without a respin.
> 

I'm going to send a new version, only patches 15 and 17 change.
I moved some changes from PATCH 17 to 15 as asked by Markus,
I have updated the commit message for patch 17:

     net: stream: add QAPI events to report connection state

     The netdev reports NETDEV_STREAM_CONNECTED event when the backend
     is connected, and NETDEV_STREAM_DISCONNECTED when it is disconnected.

     The NETDEV_STREAM_CONNECTED event includes the destination address.

     This allows a system manager like libvirt to detect when the server
     fails.

     For instance with passt:

     { 'execute': 'qmp_capabilities' }
     { "return": { } }
     { "timestamp": { "seconds": 1666341395, "microseconds": 505347 },
         "event": "NETDEV_STREAM_CONNECTED",
         "data": { "netdev-id": "netdev0",
             "addr": { "path": "/tmp/passt_1.socket", "type": "unix" } } }

     [killing passt here]

     { "timestamp": { "seconds": 1666341430, "microseconds": 968694 },
         "event": "NETDEV_STREAM_DISCONNECTED",
         "data": { "netdev-id": "netdev0" } }

Thanks,
Laurent



      reply	other threads:[~2022-10-21  9:00 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20 16:25 [PATCH v13 00/17] qapi: net: add unix socket type support to netdev backend Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 04/17] qapi: net: introduce a way to bypass qemu_opts_parse_noisily() Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 05/17] net: introduce qemu_set_info_str() function Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 07/17] net: socket: Don't ignore EINVAL on netdev socket connection Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 09/17] net: stream: add unix socket Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 10/17] net: dgram: make dgram_dst generic Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 12/17] net: dgram: add unix socket Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 14/17] qemu-sockets: update socket_uri() and socket_parse() to be consistent Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 15/17] net: stream: move to QIO to enable additional parameters Laurent Vivier
2022-10-20 16:25 ` [PATCH v13 17/17] net: stream: add QAPI events to report connection state Laurent Vivier
2022-10-21  5:48   ` Markus Armbruster
2022-10-21  8:13     ` Laurent Vivier
2022-10-21  9:12       ` Markus Armbruster
2022-10-21  9:36         ` Laurent Vivier
2022-10-21  9:41           ` Markus Armbruster
2022-10-21  9:40         ` Stefano Brivio
2022-10-21 10:55           ` Markus Armbruster
2022-10-24 11:00         ` Markus Armbruster
2022-10-24 12:04           ` Stefano Brivio
2022-10-24 12:29             ` Markus Armbruster
2022-10-21  5:49 ` [PATCH v13 00/17] qapi: net: add unix socket type support to netdev backend Jason Wang
2022-10-21  6:46   ` Markus Armbruster
2022-10-21  6:50     ` Jason Wang
2022-10-21  8:43       ` Laurent Vivier [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b595c7fe-bf31-7cc1-e7ed-cad390875bad@redhat.com \
    --to=lvivier@redhat.com \
    --cc=anthony.perard@citrix.com \
    --cc=armbru@redhat.com \
    --cc=berrange@redhat.com \
    --cc=david@gibson.dropbear.id.au \
    --cc=dgilbert@redhat.com \
    --cc=eblake@redhat.com \
    --cc=groug@kaod.org \
    --cc=jasowang@redhat.com \
    --cc=mst@redhat.com \
    --cc=paul@xen.org \
    --cc=pbonzini@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=ralph.schmieder@gmail.com \
    --cc=samuel.thibault@ens-lyon.org \
    --cc=sbrivio@redhat.com \
    --cc=sstabellini@kernel.org \
    --cc=sw@weilnetz.de \
    --cc=thuth@redhat.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).