um: virtio: Implement VHOST_USER_PROTOCOL_F_INBAND_NOTIFICATIONS
authorJohannes Berg <johannes.berg@intel.com>
Thu, 13 Feb 2020 13:26:46 +0000 (14:26 +0100)
committerRichard Weinberger <richard@nod.at>
Sun, 29 Mar 2020 21:29:00 +0000 (23:29 +0200)
commitdd9ada5627245a3441ebde00736dd63d09acc222
treecd2d4d19d19f2f3830e28b26026e156d0d8d144e
parent4b786e24ca80a492736b359b3d1a8d07612a78e5
um: virtio: Implement VHOST_USER_PROTOCOL_F_INBAND_NOTIFICATIONS

Implement in-band notifications that are necessary for running
vhost-user devices under externally synchronized time-travel
mode (which is in a follow-up patch). This feature makes what
usually should be eventfd notifications in-band messages.

We'll prefer this feature, under the assumption that only a
few (simulation) devices will ever support it, since it's not
very efficient.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/vhost_user.h
arch/um/drivers/virtio_uml.c