Bug 12891

Summary: QEMU , libvirt-bin,qemu-kvm Package Support required
Product: buildroot Reporter: Ameya <ameya.joshi>
Component: OtherAssignee: unassigned
Status: RESOLVED INVALID    
Severity: normal CC: buildroot
Priority: P5    
Version: 2020.02   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Host: Target:
Build:

Description Ameya 2020-05-12 03:50:49 UTC
Hi,

Our device requires support for below packages

qemu-kvm libvirt-bin virt-manager qemu-system

i did find qemu-system, which gets installed after selecting QEMU

but i don't find the remaining packages.

I found an old patch that says atleast libvirt was added to buildroot

https://patchwork.ozlabs.org/project/buildroot/patch/20171127104131.27975-4-casantos@datacom.ind.br/

Is there a plan to add these packages.

qemu-kvm 
libvirt-bin 
virt-manager
Comment 1 Tudor 2020-05-12 05:26:15 UTC
Package names are not consistent between projects.  Sometimes, additional "packages" are just extra options or additional libraries which are shipped as separate binaries.  Because buildroot builds the package from scratch they can be shown as options and dependencies and therefore don't need additional packages.

For example BR2_PACKAGE_QEMU_SYSTEM is the correct option for building what other projects might call "qemu-system".

As such, we don't always need specific packages explicitly.  Is there something specifically you need from libvirt?  From a buildroot perspective libvirt is a bit redundant.  Since you know categorically you'll be running on QEMU, why do you need an abstraction layer?  You don't need to jump from QEMU/KVM to Xen or VMWare in a scratchbuilt environment like buildroot.  You get that benefit by being the designer of the environment.
Comment 2 Thomas Petazzoni 2020-05-12 06:44:22 UTC
Hello Ameya. If you need libvirt support, then you need to revive the patches that were posted a long time ago, fix the issues that where pointed back then, and submit a new version.

Your bug report is not a bug, it's a wishlist item. And in the context of an open-source project, if you need something, it's up to you to contribute it :)
Comment 3 Matt Weber 2020-05-12 11:55:40 UTC
Ameya, please contact me internally to Collins discuss this request.