0b9a2443a4
Let's add a proxy for virtio-mem, make it a memory device, and pass-through the properties. Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Cc: "Michael S. Tsirkin" <mst@redhat.com> Cc: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Cc: "Dr. David Alan Gilbert" <dgilbert@redhat.com> Cc: Igor Mammedov <imammedo@redhat.com> Signed-off-by: David Hildenbrand <david@redhat.com> Message-Id: <20200626072248.78761-12-david@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
48 lines
2.0 KiB
Makefile
48 lines
2.0 KiB
Makefile
ifeq ($(CONFIG_VIRTIO),y)
|
|
common-obj-y += virtio-bus.o
|
|
obj-y += virtio.o
|
|
|
|
obj-$(CONFIG_VHOST) += vhost.o vhost-backend.o
|
|
common-obj-$(call lnot,$(CONFIG_VHOST)) += vhost-stub.o
|
|
obj-$(CONFIG_VHOST_USER) += vhost-user.o
|
|
|
|
common-obj-$(CONFIG_VIRTIO_RNG) += virtio-rng.o
|
|
common-obj-$(CONFIG_VIRTIO_PCI) += virtio-pci.o
|
|
common-obj-$(CONFIG_VIRTIO_MMIO) += virtio-mmio.o
|
|
obj-$(CONFIG_VIRTIO_BALLOON) += virtio-balloon.o
|
|
obj-$(CONFIG_VIRTIO_CRYPTO) += virtio-crypto.o
|
|
obj-$(CONFIG_VHOST_USER_FS) += vhost-user-fs.o
|
|
obj-$(call land,$(CONFIG_VIRTIO_CRYPTO),$(CONFIG_VIRTIO_PCI)) += virtio-crypto-pci.o
|
|
obj-$(CONFIG_VIRTIO_PMEM) += virtio-pmem.o
|
|
common-obj-$(call land,$(CONFIG_VIRTIO_PMEM),$(CONFIG_VIRTIO_PCI)) += virtio-pmem-pci.o
|
|
obj-$(call land,$(CONFIG_VHOST_USER_FS),$(CONFIG_VIRTIO_PCI)) += vhost-user-fs-pci.o
|
|
obj-$(CONFIG_VIRTIO_IOMMU) += virtio-iommu.o
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock-common.o vhost-vsock.o
|
|
obj-$(CONFIG_VHOST_USER_VSOCK) += vhost-vsock-common.o vhost-user-vsock.o
|
|
obj-$(CONFIG_VIRTIO_MEM) += virtio-mem.o
|
|
common-obj-$(call land,$(CONFIG_VIRTIO_MEM),$(CONFIG_VIRTIO_PCI)) += virtio-mem-pci.o
|
|
|
|
ifeq ($(CONFIG_VIRTIO_PCI),y)
|
|
obj-$(CONFIG_VHOST_VSOCK) += vhost-vsock-pci.o
|
|
obj-$(CONFIG_VHOST_USER_VSOCK) += vhost-user-vsock-pci.o
|
|
obj-$(CONFIG_VHOST_USER_BLK) += vhost-user-blk-pci.o
|
|
obj-$(CONFIG_VHOST_USER_INPUT) += vhost-user-input-pci.o
|
|
obj-$(CONFIG_VHOST_USER_SCSI) += vhost-user-scsi-pci.o
|
|
obj-$(CONFIG_VHOST_SCSI) += vhost-scsi-pci.o
|
|
obj-$(CONFIG_VIRTIO_INPUT_HOST) += virtio-input-host-pci.o
|
|
obj-$(CONFIG_VIRTIO_INPUT) += virtio-input-pci.o
|
|
obj-$(CONFIG_VIRTIO_RNG) += virtio-rng-pci.o
|
|
obj-$(CONFIG_VIRTIO_BALLOON) += virtio-balloon-pci.o
|
|
obj-$(CONFIG_VIRTIO_IOMMU) += virtio-iommu-pci.o
|
|
obj-$(CONFIG_VIRTIO_9P) += virtio-9p-pci.o
|
|
obj-$(CONFIG_VIRTIO_SCSI) += virtio-scsi-pci.o
|
|
obj-$(CONFIG_VIRTIO_BLK) += virtio-blk-pci.o
|
|
obj-$(CONFIG_VIRTIO_NET) += virtio-net-pci.o
|
|
obj-$(CONFIG_VIRTIO_SERIAL) += virtio-serial-pci.o
|
|
endif
|
|
else
|
|
common-obj-y += vhost-stub.o
|
|
endif
|
|
|
|
common-obj-$(CONFIG_ALL) += vhost-stub.o
|