qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL v4 02/29] vhost-user: add new vhost user messages


From: Maxime Coquelin
Subject: Re: [Qemu-devel] [PULL v4 02/29] vhost-user: add new vhost user messages to support virtio config space
Date: Wed, 28 Mar 2018 12:03:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

Hi,

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

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 <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
---
  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

[Prev in Thread] Current Thread [Next in Thread]