Hi,

On 01/18/2018 09:44 PM, Michael S. Tsirkin wrote:
From: Changpeng Liu <changpeng....@intel.com>

Add VHOST_USER_GET_CONFIG/VHOST_USER_SET_CONFIG messages which can be
used for live migration of vhost user devices, also vhost user devices
can benefit from the messages to get/set virtio config space from/to the
I/O target. For the purpose to support virtio config space change,
VHOST_USER_SLAVE_CONFIG_CHANGE_MSG message is added as the event notifier
in case virtio config space change in the slave I/O target.

Signed-off-by: Changpeng Liu <changpeng....@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lur...@redhat.com>
Reviewed-by: Michael S. Tsirkin <m...@redhat.com>
Signed-off-by: Michael S. Tsirkin <m...@redhat.com>
---
  docs/interop/vhost-user.txt       |  55 ++++++++++++++++++
  include/hw/virtio/vhost-backend.h |  12 ++++
  include/hw/virtio/vhost.h         |  15 +++++
  hw/virtio/vhost-user.c            | 118 ++++++++++++++++++++++++++++++++++++++
  hw/virtio/vhost.c                 |  32 +++++++++++
  5 files changed, 232 insertions(+)


As discussed with Changpeng on DPDK ML, we need a vhost-user protocol
feature bit to back these new requests, else QEMU cannot whether the
user backend implement these.

With current and older DPDK version, if an unknown request is received,
the socket connection is closed.

Do we still have time before QEMU v2.12 is out?

Thanks,
Maxime

Reply via email to