]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9bb2fbb067643c4253b1b5dcc1b0815f3a16f7b9
treecd2d4d19d19f2f3830e28b26026e156d0d8d144e
parentbafd327b43ad63ab8efb9ef7b34eaecc496a5db5
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