[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] scripts: add a script to list virtio devices in a system
From: |
Laurent Vivier |
Subject: |
Re: [PATCH] scripts: add a script to list virtio devices in a system |
Date: |
Wed, 12 May 2021 09:44:45 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
On 11/05/2021 11:17, Peter Maydell wrote:
> On Thu, 6 May 2021 at 20:36, Laurent Vivier <lvivier@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