Re: [PATCH] ebpf: only include in system emulators

2021-09-09 Thread Jason Wang
On Thu, Sep 9, 2021 at 5:50 PM Peter Maydell wrote: > > On Thu, 9 Sept 2021 at 04:14, Jason Wang wrote: > > > > On Wed, Sep 8, 2021 at 1:46 PM Paolo Bonzini wrote: > > > > > > On 08/09/21 05:08, Jason Wang wrote: > > > > > > > > 在 2021/9/7 下午6:45, Paolo Bonzini 写道: > > > >> eBPF files are being

Re: [PATCH] ebpf: only include in system emulators

2021-09-09 Thread Peter Maydell
On Thu, 9 Sept 2021 at 04:14, Jason Wang wrote: > > On Wed, Sep 8, 2021 at 1:46 PM Paolo Bonzini wrote: > > > > On 08/09/21 05:08, Jason Wang wrote: > > > > > > 在 2021/9/7 下午6:45, Paolo Bonzini 写道: > > >> eBPF files are being included in system emulators, which is useless > > > > > > > > > I

Re: [PATCH] ebpf: only include in system emulators

2021-09-08 Thread Jason Wang
On Wed, Sep 8, 2021 at 1:46 PM Paolo Bonzini wrote: > > On 08/09/21 05:08, Jason Wang wrote: > > > > 在 2021/9/7 下午6:45, Paolo Bonzini 写道: > >> eBPF files are being included in system emulators, which is useless > > > > > > I think it should work since it's an independent feature. The current > >

Re: [PATCH] ebpf: only include in system emulators

2021-09-07 Thread Paolo Bonzini
On 08/09/21 05:08, Jason Wang wrote: 在 2021/9/7 下午6:45, Paolo Bonzini 写道: eBPF files are being included in system emulators, which is useless I think it should work since it's an independent feature. The current use case is to offload the RSS from Qemu to kernel TAP. Sorry, I meant "user

Re: [PATCH] ebpf: only include in system emulators

2021-09-07 Thread Jason Wang
在 2021/9/7 下午6:45, Paolo Bonzini 写道: eBPF files are being included in system emulators, which is useless I think it should work since it's an independent feature. The current use case is to offload the RSS from Qemu to kernel TAP. and also breaks compilation because ebpf/trace-events

Re: [PATCH] ebpf: only include in system emulators

2021-09-07 Thread Peter Maydell
On Tue, 7 Sept 2021 at 11:47, Paolo Bonzini wrote: > > eBPF files are being included in system emulators, which is useless and do you mean "in user-mode emulators" here ? > also breaks compilation because ebpf/trace-events is only processed > if a system emulator is included in the build. > >

Re: [PATCH] ebpf: only include in system emulators

2021-09-07 Thread Philippe Mathieu-Daudé
On 9/7/21 12:45 PM, Paolo Bonzini wrote: > eBPF files are being included in system emulators, which is useless and > also breaks compilation because ebpf/trace-events is only processed > if a system emulator is included in the build. > > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/566

[PATCH] ebpf: only include in system emulators

2021-09-07 Thread Paolo Bonzini
eBPF files are being included in system emulators, which is useless and also breaks compilation because ebpf/trace-events is only processed if a system emulator is included in the build. Resolves: https://gitlab.com/qemu-project/qemu/-/issues/566 Signed-off-by: Paolo Bonzini ---