qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC PATCH 01/12] configure: Add iovisor/ubpf project as a submodule


From: Thomas Huth
Subject: Re: [RFC PATCH 01/12] configure: Add iovisor/ubpf project as a submodule for QEMU
Date: Mon, 20 Jun 2022 10:46:31 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0

On 20/06/2022 10.11, Daniel P. Berrangé wrote:
On Mon, Jun 20, 2022 at 05:59:06AM +0000, Zhang, Chen wrote:


-----Original Message-----
From: Daniel P. Berrangé <berrange@redhat.com>
Sent: Friday, June 17, 2022 4:05 PM
To: Zhang, Chen <chen.zhang@intel.com>
Cc: Jason Wang <jasowang@redhat.com>; qemu-dev <qemu-
devel@nongnu.org>; Paolo Bonzini <pbonzini@redhat.com>; Eduardo
Habkost <eduardo@habkost.net>; Eric Blake <eblake@redhat.com>; Markus
Armbruster <armbru@redhat.com>; Peter Maydell
<peter.maydell@linaro.org>; Thomas Huth <thuth@redhat.com>; Laurent
Vivier <lvivier@redhat.com>; Yuri Benditovich
<yuri.benditovich@daynix.com>; Andrew Melnychenko
<andrew@daynix.com>
Subject: Re: [RFC PATCH 01/12] configure: Add iovisor/ubpf project as a
submodule for QEMU

On Fri, Jun 17, 2022 at 03:36:19PM +0800, Zhang Chen wrote:
Make iovisor/ubpf project be a git submodule for QEMU.
It will auto clone ubpf project when configure QEMU.

I don't think we need todo this. As it is brand new functionality we don't have
any back compat issues. We should just expect the distros to ship ubpf if
they want their QEMU builds to take advantage of it.


Yes, agree. It's the best way to use the uBPF project.
But current status is distros(ubuntu, RHEL...) does not ship
the iovisor/ubpf like the iovisor/bcc. So I have to do it.
Or do you have any better suggestions?

If distros want to support the functionality, they can add packages for
it IMHO.

Yes, let's please avoid new submodules. Submodules can sometimes be a real PITA (e.g. if you forget to update before rsync'ing your code to a machine that has limited internet access), and if users install QEMU from sources, they can also install ubpf from sources, too. And if distros want to support this feature, they can package ubpf on their own, as Daniel said.

 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]