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.
>
> 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.