This patch series could use tests. The first two patches seem broken and testing would have revealed that the memory allocation and pointers are not quite right.
One testing approach is to write a test device using libvhost-user that exposes VIRTIO Shared Memory Regions, launch QEMU in qtest mode with --device vhost-user-device, and then use the qtest API to enumerate and access the VIRTIO Shared Memory Regions. Unfortunately this involves writing quite a bit of test code. I can explain it in more detail if you want. Does anyone have other ideas for testing? Stefan
signature.asc
Description: PGP signature