This patch factors out IOTLB into a dedicated module in order to be reused by other modules like vringh. User may choose to enable the automatic retiring by specifying VHOST_IOTLB_FLAG_RETIRE flag to fit for the case of vhost device IOTLB implementation. Signed-off-by: Jason Wang <jasowang@redhat.com> Link: https://lore.kernel.org/r/20200326140125.19794-4-jasowang@redhat.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
17 lines
368 B
Makefile
17 lines
368 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_VHOST_NET) += vhost_net.o
|
|
vhost_net-y := net.o
|
|
|
|
obj-$(CONFIG_VHOST_SCSI) += vhost_scsi.o
|
|
vhost_scsi-y := scsi.o
|
|
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost_vsock.o
|
|
vhost_vsock-y := vsock.o
|
|
|
|
obj-$(CONFIG_VHOST_RING) += vringh.o
|
|
|
|
obj-$(CONFIG_VHOST) += vhost.o
|
|
|
|
obj-$(CONFIG_VHOST_IOTLB) += vhost_iotlb.o
|
|
vhost_iotlb-y := iotlb.o
|