On 11/05/2021 11:17, Peter Maydell wrote: > On Thu, 6 May 2021 at 20:36, Laurent Vivier <lviv...@redhat.com> wrote: >> >> Add "lsvirtio" that lists all virtio devices in a system >> the same way lspci does for the PCI cards. > > This is cool, but it's not really QEMU specific -- it should > work on any Linux guest running on some hypervisor or hardware > that exposes virtio devices, right? So I'm not sure it really > belongs in QEMU's source tree... > > If you're a distro packager you'd probably want to have this be in its > own package or at least not in the same package as the QEMU binaries, > for instance, because this lives in the guest, not the host. >
Yes, I agree with that, but if it is in its own package I think it will never reach user because no one will find it. I can try to push this into util-linux where we can find tools like lscpu, lsblk ... but the competencies to review the code are in qemu-devel ML not in util-linux ML. Thanks, Laurent