contrib/libvhost-user: enable virtio config space messages
commit0bc24d831e4979cce8f1ab28ae36c20597b92edc
authorChangpeng Liu <changpeng.liu@intel.com>
Thu, 4 Jan 2018 01:53:33 +0000 (4 09:53 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 18 Jan 2018 19:52:37 +0000 (18 21:52 +0200)
treecc13d14788c9269bb0d6472f4dcc0f0912df134c
parent00343e4b54ba0685e9ebe928ec5713b0cf7f1d1c
contrib/libvhost-user: enable virtio config space messages

Enable VHOST_USER_GET_CONFIG/VHOST_USER_SET_CONFIG messages in
libvhost-user library, users can implement their own I/O target
based on the library. This enable the virtio config space delivered
between QEMU host device and the I/O target.

Signed-off-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
contrib/libvhost-user/libvhost-user.c
contrib/libvhost-user/libvhost-user.h