[Qemu-devel] How to write a backend receiving routine

2013-08-18 Thread Yang Jin
Hi, all I'm a beginner with QEMU. I'm trying to write a CAN device and also a backend. However while I try to write a backend receiving routine, some thing confuse me. I hope I can get some help here. Actually, I try to figure out how backend udp works at first, also a serial pci acts as a fronte

Re: [Qemu-devel] CAN device

2013-06-30 Thread Yang Jin
"cat /dev/ttyS0", error "Input/output error". I google it, and found many reasons can cause that error. How should I test it? Thanks, Jin Yang. 2013/6/28 Andreas Färber > Hi, > > Am 28.06.2013 14:19, schrieb Yang Jin: > > I try to develop a CAN device on QEMU.

[Qemu-devel] CAN device

2013-06-28 Thread Yang Jin
Hi, I try to develop a CAN device on QEMU. And I found pci-serial is similar to CAN. Untill now, I have some questions about how to use pci-serial on QEMU. Actually, QEMU use isa-serial as a default serial device. So I try to use isa-serial firstly. Some useful information we can get from docs/qd