commit | 265a0ad8731dc04fccb76cd1abf5a85a9359e62e | [log] [tgz] |
---|---|---|
author | Zhu Lingshan <lingshan.zhu@intel.com> | Fri Jul 31 14:55:28 2020 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Aug 05 11:08:42 2020 -0400 |
tree | 1942073683b5a2b905b0d1e837fb83086a51a645 | |
parent | bf11d71a0a919c32158dd89891d95f6f91a323b2 [diff] |
vhost: introduce vhost_vring_call This commit introduces struct vhost_vring_call which replaced raw struct eventfd_ctx *call_ctx in struct vhost_virtqueue. Besides eventfd_ctx, it contains a spin lock and an irq_bypass_producer in its structure. Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com> Suggested-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200731065533.4144-2-lingshan.zhu@intel.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>