mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 14:24:02 +08:00
e6a74868d9
Learn to compile out vhost-user (net, scsi & upcoming users). Keep it enabled by default on non-win32, that is assumed to be POSIX. Fail if trying to enable it on win32. When trying to make a vhost-user netdev, it gives the following error: -netdev vhost-user,id=foo,chardev=chr-test: Parameter 'type' expects a netdev backend type And similar error with the HMP/QMP monitors. While at it, rename CONFIG_VHOST_NET_TEST CONFIG_VHOST_USER_NET_TEST since it's a vhost-user specific variable. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Cornelia Huck <cohuck@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
47 lines
954 B
Makefile
47 lines
954 B
Makefile
CONFIG_PCI=y
|
|
# For now, CONFIG_IDE_CORE requires ISA, so we enable it here
|
|
CONFIG_ISA_BUS=y
|
|
CONFIG_VIRTIO_PCI=y
|
|
CONFIG_VIRTIO=y
|
|
CONFIG_USB_UHCI=y
|
|
CONFIG_USB_OHCI=y
|
|
CONFIG_USB_EHCI=y
|
|
CONFIG_USB_XHCI=y
|
|
CONFIG_USB_XHCI_NEC=y
|
|
CONFIG_NE2000_PCI=y
|
|
CONFIG_EEPRO100_PCI=y
|
|
CONFIG_PCNET_PCI=y
|
|
CONFIG_PCNET_COMMON=y
|
|
CONFIG_AC97=y
|
|
CONFIG_HDA=y
|
|
CONFIG_ES1370=y
|
|
CONFIG_LSI_SCSI_PCI=y
|
|
CONFIG_VMW_PVSCSI_SCSI_PCI=y
|
|
CONFIG_MEGASAS_SCSI_PCI=y
|
|
CONFIG_MPTSAS_SCSI_PCI=y
|
|
CONFIG_RTL8139_PCI=y
|
|
CONFIG_E1000_PCI=y
|
|
CONFIG_E1000E_PCI=y
|
|
CONFIG_VMXNET3_PCI=y
|
|
CONFIG_IDE_CORE=y
|
|
CONFIG_IDE_QDEV=y
|
|
CONFIG_IDE_PCI=y
|
|
CONFIG_AHCI=y
|
|
CONFIG_ESP=y
|
|
CONFIG_ESP_PCI=y
|
|
CONFIG_SERIAL=y
|
|
CONFIG_SERIAL_ISA=y
|
|
CONFIG_SERIAL_PCI=y
|
|
CONFIG_IPACK=y
|
|
CONFIG_WDT_IB6300ESB=y
|
|
CONFIG_PCI_TESTDEV=y
|
|
CONFIG_NVME_PCI=y
|
|
CONFIG_SD=y
|
|
CONFIG_SDHCI=y
|
|
CONFIG_EDU=y
|
|
CONFIG_VGA=y
|
|
CONFIG_VGA_PCI=y
|
|
CONFIG_IVSHMEM_DEVICE=$(CONFIG_IVSHMEM)
|
|
CONFIG_ROCKER=y
|
|
CONFIG_VHOST_USER_SCSI=$(and $(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|