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>
28 lines
821 B
Makefile
28 lines
821 B
Makefile
common-obj-y = net.o queue.o checksum.o util.o hub.o
|
|
common-obj-y += socket.o
|
|
common-obj-y += dump.o
|
|
common-obj-y += eth.o
|
|
common-obj-$(CONFIG_L2TPV3) += l2tpv3.o
|
|
common-obj-$(CONFIG_POSIX) += vhost-user.o
|
|
common-obj-$(CONFIG_SLIRP) += slirp.o
|
|
common-obj-$(CONFIG_VDE) += vde.o
|
|
common-obj-$(CONFIG_NETMAP) += netmap.o
|
|
common-obj-y += filter.o
|
|
common-obj-y += filter-buffer.o
|
|
common-obj-y += filter-mirror.o
|
|
common-obj-y += colo-compare.o
|
|
common-obj-y += colo.o
|
|
common-obj-y += filter-rewriter.o
|
|
common-obj-y += filter-replay.o
|
|
|
|
tap-obj-$(CONFIG_LINUX) = tap-linux.o
|
|
tap-obj-$(CONFIG_BSD) = tap-bsd.o
|
|
tap-obj-$(CONFIG_SOLARIS) = tap-solaris.o
|
|
tap-obj-y ?= tap-stub.o
|
|
common-obj-$(CONFIG_POSIX) += tap.o $(tap-obj-y)
|
|
common-obj-$(CONFIG_WIN32) += tap-win32.o
|
|
|
|
vde.o-libs = $(VDE_LIBS)
|
|
|
|
common-obj-$(CONFIG_CAN_BUS) += can/
|