|
From: | Paolo Bonzini |
Subject: | Re: [Qemu-devel] hw/arm: add Lego NXT board |
Date: | Wed, 16 Jul 2014 10:50:17 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Il 16/07/2014 10:40, Alexander Graf ha scritto:
I think that there are two other ways to do it.And what about the chardev way? Your silence in this regard is misterious ;-)
The main problem with chardevs is that they are completely asynchronous. So they may not be a good match for your use case.
(In fact, this is a problem for the i2c-over-chardev and especially spi-over-chardev ideas I shot out yesterday. For i2c-over-chardev one could add support to clock stretching in QEMU, but SPI is entirely synchronous).
Note that -qmp and -qtest both use chardevs internally to connect the external program with QEMU.
Paolo
1) [...] 2) [...]Thanks a lot for your suggestions. I will play a bit and come back when I have some code to show.
[Prev in Thread] | Current Thread | [Next in Thread] |