From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51979) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Uun-0002Xv-1J for qemu-devel@nongnu.org; Mon, 15 Jun 2015 09:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z4Uuj-0000dk-SK for qemu-devel@nongnu.org; Mon, 15 Jun 2015 09:59:04 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42358) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z4Uuj-0000dc-NA for qemu-devel@nongnu.org; Mon, 15 Jun 2015 09:59:01 -0400 Date: Mon, 15 Jun 2015 14:58:59 +0100 From: Stefan Hajnoczi Message-ID: <20150615135859.GE9410@stefanha-thinkpad.redhat.com> References: <1432538908-26298-5-git-send-email-mukawa@igel.co.jp> <1432874550-10921-1-git-send-email-mukawa@igel.co.jp> <1432874550-10921-4-git-send-email-mukawa@igel.co.jp> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BQPnanjtCNWHyqYD" Content-Disposition: inline In-Reply-To: <1432874550-10921-4-git-send-email-mukawa@igel.co.jp> Subject: Re: [Qemu-devel] [PATCH v1 3/4] vhost-user: Enable 'nowait' and 'reconnect' option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Tetsuya Mukawa Cc: jasowang@redhat.com, qemu-devel@nongnu.org, n.nikolaev@virtualopensystems.com --BQPnanjtCNWHyqYD Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 29, 2015 at 01:42:29PM +0900, Tetsuya Mukawa wrote: > The patch enables 'nowait' option for server mode, and 'reconnect' > option for client mode. >=20 > Signed-off-by: Tetsuya Mukawa > --- > net/vhost-user.c | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/net/vhost-user.c b/net/vhost-user.c > index 1967ff4..f823d78 100644 > --- a/net/vhost-user.c > +++ b/net/vhost-user.c > @@ -26,6 +26,8 @@ typedef struct VhostUserChardevProps { > bool is_socket; > bool is_unix; > bool is_server; > + bool is_nowait; > + bool is_reconnect; > } VhostUserChardevProps; > =20 > VHostNetState *vhost_user_get_vhost_net(NetClientState *nc) > @@ -178,6 +180,10 @@ static int net_vhost_chardev_opts(const char *name, = const char *value, > props->is_unix =3D true; > } else if (strcmp(name, "server") =3D=3D 0) { > props->is_server =3D true; > + } else if ((strcmp(name, "wait") =3D=3D 0) && (strcmp(value, "off"))= =3D=3D 0) { > + props->is_nowait =3D true; > + } else if (strcmp(name, "reconnect") =3D=3D 0) { > + props->is_reconnect =3D true; Where is the code that uses these new options? --BQPnanjtCNWHyqYD Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJVftojAAoJEJykq7OBq3PIU14H/3AWXyBJd6hdwPu6tzCKjTb2 bJNvyXoxQpcyqDaxHl8u9lmyqhl8hk0O+Dk3JqlaMFXe+841w/7KHfzG6e0ZBLdm w3VElh10FMaGRuXySP4JmgGy1LZIrGB39n+uQ5LVzde05jmkZrcIdDbItYQUzsai p2UtXScK0uXZL2WxG7Qa8XzNszuqiwb4vNljFc5e6Nlaa1IrhhihCEI5NfyhHweP R5STUaSqqC3CSHkcEZOum0UjPWfo2cdDUYDERgt3P2sSKlNy7tIq+mr9MkNleCzR x+NeMJ0wDj7UnO8MS+LocX42grn9GeVT8rYFQeVX6CxEpLiNki2gdsTJTIPoQgE= =RUb9 -----END PGP SIGNATURE----- --BQPnanjtCNWHyqYD--