On 12/21/22 08:49, Michael Tokarev wrote:
20.12.2022 23:56, Helge Deller wrote:
..
Given that info, would it then make sense to keep as is:
--enable-system
--enable-user
--enable-tools -> qemu-bridge-helper, vhost-user-gpu, virtfs-proxy-helper,
virtiofsd
--enable-guest-agent -> guest agents (option is there already, but not
used)
and additonally add:
--enable-utils -> qemu-img, qemu-io, qemu-nbd
tools and utils is confusing, it smells like it's the same thing.
I understand that in theory, eg virtiofsd can be used without qemu, with some
other software, but in practice there's no such software, and I don't think
it will emerge in a (near) future. All the "tools" listed above are system-mode
helpers really, this is why I package them in qemu-SYSTEM-common in Debian.
They're not very useful for now without some of qemu-system-xx. To my view,
these should be part of --enable-system, at least for now. Maybe with a
separate --enable-system-helpers to turn them off if needed but I don't
think it's necessary.
The new "utils" category above actually *is* useful by its own, especially
qemu-nbd, for example to access .qcow2 images from the host OS. This is what
eg Redhat is shipping in qemu-io package. And these are good to have without
--enable-system.
Michael, please note, that the patch I initially sent in this thread is
*exactly* doing what you summarize here.
Helge