On 03/11/2021 08.56, Andrew Jones wrote:
On Fri, Aug 27, 2021 at 12:17:19PM +0200, Pierre Morel wrote:
+
+#define VIRTIO_ID_PONG 30 /* virtio pong */
I take it this is a virtio test device that ping-pong's I/O. It sounds
useful for other VIRTIO transports too. Can it be ported? Hmm, I can't
find it in QEMU at all?
I also wonder whether we could do testing with an existing device instead?
E.g. do a loopback with a virtio-serial device? Or use two virtio-net
devices, connect them to a QEMU hub and send a packet from one device to the
other? ... that would be a little bit more complicated here, but would not
require a PONG device upstream first, so it could also be used for testing
older versions of QEMU...
Thomas