Bug 2063670

Summary: Please reduce libvirt-daemon-kvm dependencies to qemu-kvm-core
Product: [Fedora] Fedora Reporter: Martin Pitt <mpitt>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 35CC: agedosier, berrange, clalancette, crobinso, jforbes, laine, libvirt-maint, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-14 10:21:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Pitt 2022-03-14 05:57:05 UTC
Description of problem: libvirt-daemon-kvm pulls in tons of desktop-ish packages (GTK, Jack, mesa, etc.) into a server. This was recently discussed on [1] and Neal pointed out that there is a qemu-kvm-core package which only pulls in the server bits.  Can you please move the dependency there?

This would significantly shrink our server footprint and container images.

Thanks for considering!

Version-Release number of selected component (if applicable):

libvirt-daemon-kvm-7.6.0-5.fc35.x86_64


[1] https://lists.fedoraproject.org/archives/list/server@lists.fedoraproject.org/message/UDV6CBRZRF3PKLZCZPXQ6T3OBTEUNAMX/

Comment 1 Daniel Berrangé 2022-03-14 09:22:28 UTC
(In reply to Martin Pitt from comment #0)
> Description of problem: libvirt-daemon-kvm pulls in tons of desktop-ish
> packages (GTK, Jack, mesa, etc.) into a server. This was recently discussed
> on [1] and Neal pointed out that there is a qemu-kvm-core package which only
> pulls in the server bits.  Can you please move the dependency there?

The libvirt-daemon-kvm package is intended to pull in all features that work with KVM. If you want a more fine grained installation, consider one of the other libvirt packages as described here:

   https://libvirt.org/kbase/rpm-deployment.html

Comment 2 Martin Pitt 2022-03-14 10:21:55 UTC
I see, thanks Daniel! 

Doing in https://github.com/cockpit-project/cockpituous/pull/473