commit | 792a4f2ed24fcdf0a1956e84fe2a71ada318ba7c | [log] [tgz] |
---|---|---|
author | Jason Wang <jasowang@redhat.com> | Thu Mar 26 22:01:18 2020 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Wed Apr 01 12:06:26 2020 -0400 |
tree | 2e6c428495030f0118f14468fc2cdf7f6e649b29 | |
parent | 20c384f1ea1a0bc7320bc445c72dd02d2970d594 [diff] |
vhost: allow per device message handler This patch allow device to register its own message handler during vhost_dev_init(). vDPA device will use it to implement its own DMA mapping logic. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200326140125.19794-3-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>