From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:51257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eMFe6-0002DC-1n for qemu-devel@nongnu.org; Tue, 05 Dec 2017 11:00:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eMFe0-0001Ik-DI for qemu-devel@nongnu.org; Tue, 05 Dec 2017 11:00:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:40508) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eMFe0-0001IW-6n for qemu-devel@nongnu.org; Tue, 05 Dec 2017 11:00:28 -0500 Date: Tue, 5 Dec 2017 16:00:20 +0000 From: Stefan Hajnoczi Message-ID: <20171205160020.GH31150@stefanha-x1.localdomain> References: <1512444796-30615-1-git-send-email-wei.w.wang@intel.com> <1512444796-30615-6-git-send-email-wei.w.wang@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDnEQgWzhgf+8aPe" Content-Disposition: inline In-Reply-To: <1512444796-30615-6-git-send-email-wei.w.wang@intel.com> Subject: Re: [Qemu-devel] [PATCH v3 5/7] vhost-user: VHOST_USER_SET_VHOST_PCI msg List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Wei Wang Cc: virtio-dev@lists.oasis-open.org, qemu-devel@nongnu.org, mst@redhat.com, marcandre.lureau@redhat.com, jasowang@redhat.com, pbonzini@redhat.com, jan.kiszka@siemens.com, avi.cohen@huawei.com, zhiyong.yang@intel.com --dDnEQgWzhgf+8aPe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 05, 2017 at 11:33:14AM +0800, Wei Wang wrote: > Add a new vhost-uer protocol msg, VHOST_USER_SET_VHOST_PCI. This msg is > used to signal the vhost-pci device to start/stop working. >=20 > Signed-off-by: Wei Wang > --- > hw/net/vhost_net.c | 37 +++++++++++++++++++++++++++++++++= ++++ > hw/virtio/vhost-pci-slave.c | 2 +- > hw/virtio/vhost-user.c | 17 +++++++++++++++++ > hw/virtio/vhost.c | 7 +++++++ > include/hw/virtio/vhost-backend.h | 2 ++ > include/hw/virtio/vhost-user.h | 2 ++ > include/hw/virtio/vhost.h | 2 ++ > include/net/vhost_net.h | 2 ++ > 8 files changed, 70 insertions(+), 1 deletion(-) New protocol messages must be documented in docs/interop/vhost-user.txt. Why is a new message needed? I'm not sure why it is specific to vhost-pci. --dDnEQgWzhgf+8aPe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJaJsKUAAoJEJykq7OBq3PIurcIAILS+kvuY/9b9DfgWgKz/tHq F5KJ/iq4pZuQQ+546paS5Rm4gH1WfSLmrsXHzfUsqOCKJztxUUAZuLveoSbtRur0 Q4xcnKJMVQvtk3wW1vjfFRH5jZZRIkTOKp6Vly2o2gSfXXaBRtoEpMJfYCgDLPhX B1LbHn6YiOu8urOlpEDg4FWcN9cc7AwBAyRtWjDS0BTUuLtBRuQmhbJR1XUk5Grx vsJraih5PZHnUdRskpDp0xshC1bKz5p6vEAyLq/7jVYr1BubqKdb7QbJClfRFdxu VE7zhAD7GvLa/Ue/XnFK4RLsHygxPZf/7l0WWIIEZdRSxuzNi6AnQ4/lBj2y1l0= =zFqW -----END PGP SIGNATURE----- --dDnEQgWzhgf+8aPe-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: virtio-dev-return-2759-cohuck=redhat.com@lists.oasis-open.org Sender: List-Post: List-Help: List-Unsubscribe: List-Subscribe: Received: from lists.oasis-open.org (oasis-open.org [66.179.20.138]) by lists.oasis-open.org (Postfix) with ESMTP id 349985818F75 for ; Tue, 5 Dec 2017 08:00:30 -0800 (PST) Date: Tue, 5 Dec 2017 16:00:20 +0000 From: Stefan Hajnoczi Message-ID: <20171205160020.GH31150@stefanha-x1.localdomain> References: <1512444796-30615-1-git-send-email-wei.w.wang@intel.com> <1512444796-30615-6-git-send-email-wei.w.wang@intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="dDnEQgWzhgf+8aPe" Content-Disposition: inline In-Reply-To: <1512444796-30615-6-git-send-email-wei.w.wang@intel.com> Subject: [virtio-dev] Re: [PATCH v3 5/7] vhost-user: VHOST_USER_SET_VHOST_PCI msg To: Wei Wang Cc: virtio-dev@lists.oasis-open.org, qemu-devel@nongnu.org, mst@redhat.com, marcandre.lureau@redhat.com, jasowang@redhat.com, pbonzini@redhat.com, jan.kiszka@siemens.com, avi.cohen@huawei.com, zhiyong.yang@intel.com List-ID: --dDnEQgWzhgf+8aPe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 05, 2017 at 11:33:14AM +0800, Wei Wang wrote: > Add a new vhost-uer protocol msg, VHOST_USER_SET_VHOST_PCI. This msg is > used to signal the vhost-pci device to start/stop working. >=20 > Signed-off-by: Wei Wang > --- > hw/net/vhost_net.c | 37 +++++++++++++++++++++++++++++++++= ++++ > hw/virtio/vhost-pci-slave.c | 2 +- > hw/virtio/vhost-user.c | 17 +++++++++++++++++ > hw/virtio/vhost.c | 7 +++++++ > include/hw/virtio/vhost-backend.h | 2 ++ > include/hw/virtio/vhost-user.h | 2 ++ > include/hw/virtio/vhost.h | 2 ++ > include/net/vhost_net.h | 2 ++ > 8 files changed, 70 insertions(+), 1 deletion(-) New protocol messages must be documented in docs/interop/vhost-user.txt. Why is a new message needed? I'm not sure why it is specific to vhost-pci. --dDnEQgWzhgf+8aPe Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJaJsKUAAoJEJykq7OBq3PIurcIAILS+kvuY/9b9DfgWgKz/tHq F5KJ/iq4pZuQQ+546paS5Rm4gH1WfSLmrsXHzfUsqOCKJztxUUAZuLveoSbtRur0 Q4xcnKJMVQvtk3wW1vjfFRH5jZZRIkTOKp6Vly2o2gSfXXaBRtoEpMJfYCgDLPhX B1LbHn6YiOu8urOlpEDg4FWcN9cc7AwBAyRtWjDS0BTUuLtBRuQmhbJR1XUk5Grx vsJraih5PZHnUdRskpDp0xshC1bKz5p6vEAyLq/7jVYr1BubqKdb7QbJClfRFdxu VE7zhAD7GvLa/Ue/XnFK4RLsHygxPZf/7l0WWIIEZdRSxuzNi6AnQ4/lBj2y1l0= =zFqW -----END PGP SIGNATURE----- --dDnEQgWzhgf+8aPe--