# qemu config file [drive "disk1"] if = "none" file = "./disk.img" [device] driver = "kvaser_pci" canbus = "canbus0" [device "ehci1"] driver = "usb-ehci" addr = "18" multifunction = "on" [device "ehci2"] driver = "usb-ehci" addr = "18.2" multifunction = "on" [device] driver = "usb-storage" port = "4" bus = "ehci2.0" drive = "disk1" [nic] type = "tap" ifname = "tap0" script = "qemu_if-up.sh" downscript = "qemu_if-down.sh" [rtc] base = "utc" [machine] graphics = "off" type = "g3beige" kernel = "output/images/vmlinux" dtb = "devicetree.dtb" usb = "on" append = " console=ttyS0 root=/dev/sda2 rootwait" [memory] size = "1G" [object "canbus0"] qom-type = "can-bus" [object "canhost0"] qom-type = "can-host-socketcan" if = "vcan0" canbus = "canbus0"