On Wed, Dec 13, 2017 at 10:29:00AM +0800, Changpeng Liu wrote: > 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_SET_CONFIG_FD message is added as the event notifier > in case virtio config space change in the I/O target. > > Signed-off-by: Changpeng Liu > --- > docs/interop/vhost-user.txt | 45 ++++++++++++++++ > hw/virtio/vhost-user.c | 107 ++++++++++++++++++++++++++++++++++++++ > hw/virtio/vhost.c | 64 +++++++++++++++++++++++ > include/hw/virtio/vhost-backend.h | 14 +++++ > include/hw/virtio/vhost.h | 16 ++++++ > 5 files changed, 246 insertions(+) Reviewed-by: Stefan Hajnoczi