Hi Marcel,
On 28/11/2021 18:01, smooky@v16.de wrote:
Hi Adolf.
Sorry, but I overlooked qemu-ga in the qemu addon.
But since I only need the qemu-ga when I run ipfire virtualized without the complete qemu, it would make a lot of sense to provide this as a separate add-on.
If this is also the case for all users, that the qemu-ga is always needed separately from qemu, then it would make sense to have a separate addon for qemu-ga.
It would not make sense to run a virtualization again on a virtualized system.
How about that?
So to create two addons from one source.
Maybe it would make sense then not to deliver the qemu-ga in the qemu addon because the qemu-ga is only interesting for the virtualized clients but not for the host.
So then my suggestion would be to comment out in the qemu addon rootfile the qemu-ga entry.
Then I would suggest to create an additional lfs called qemu-ga, based on the qemu lfs. Probably remove some the last lines that are creating a wrapper for kvm handling and the udev script. Then create a qemu-ga rootfile, based on the qemu rootfile but with everything commented out except the qemu-ga line and any of the /usr/share/entries that might be required for qemu-ga. That way you have two addons that deal separately with qemu and with qemu-ga.
The above would be how I would try and approach it. You would basically need to give it a go and see if it works or not.
Regards,
Adolf.
Regards
Marcel