]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/vhost-user.c
vhost-user: add vhost_user_requires_shm_log()
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 9 Oct 2015 15:17:24 +0000 (17:17 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 22 Oct 2015 11:34:49 +0000 (14:34 +0300)
commit1be0ac2109fbaca6e730ac578f0564507d173e2d
tree32ace8879e93a17585cfd26f62e94d22a32dcd2a
parentc2bea314f6a2870b847c79e2e11263c5f9334db7
vhost-user: add vhost_user_requires_shm_log()

Check if the backend has VHOST_USER_PROTOCOL_F_LOG_SHMFD feature and
require a shared log.

Signed-off-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>
Tested-by: Thibaut Collet <thibaut.collet@6wind.com>
hw/virtio/vhost-user.c
include/hw/virtio/vhost-backend.h