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é <berra...@redhat.com>
Sent: Friday, June 17, 2022 4:05 PM
To: Zhang, Chen <chen.zh...@intel.com>
Cc: Jason Wang <jasow...@redhat.com>; qemu-dev <qemu-
de...@nongnu.org>; Paolo Bonzini <pbonz...@redhat.com>; Eduardo
Habkost <edua...@habkost.net>; Eric Blake <ebl...@redhat.com>; Markus
Armbruster <arm...@redhat.com>; Peter Maydell
<peter.mayd...@linaro.org>; Thomas Huth <th...@redhat.com>; Laurent
Vivier <lviv...@redhat.com>; Yuri Benditovich
<yuri.benditov...@daynix.com>; Andrew Melnychenko
<and...@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