d18957dbcc
The CanBusState state structure is created for each emulated CAN channel. Individual clients/emulated CAN interfaces or host interface connection registers to the bus by CanBusClientState structure. The CAN core is prepared to support connection to the real host CAN bus network. The commit with such support for Linux SocketCAN follows. Implementation is as simple as possible. There is no state to be migrated, and messages prioritization and queuing are not considered for now. But it is intended to be extended when need arises. Development repository and more documentation at https://gitlab.fel.cvut.cz/canbus/qemu-canbus The work is based on Jin Yang GSoC 2013 work funded by Google and mentored in frame of RTEMS project GSoC slot donated to QEMU. Rewritten for QEMU-2.0+ versions and architecture cleanup by Pavel Pisa (Czech Technical University in Prague). Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
48 lines
1.0 KiB
Makefile
48 lines
1.0 KiB
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_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_CAN_BUS=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=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|
|
CONFIG_VHOST_USER_BLK=$(call land,$(CONFIG_VHOST_USER),$(CONFIG_LINUX))
|