Re: [PATCH 3/5] ebpf: add formal error reporting to all APIs

2024-08-07 Thread Daniel P . Berrangé
On Wed, Aug 07, 2024 at 09:37:00AM +0200, Philippe Mathieu-Daudé wrote: > On 6/8/24 17:20, Daniel P. Berrangé wrote: > > On Tue, Aug 06, 2024 at 05:11:55PM +0200, Philippe Mathieu-Daudé wrote: > > > On 6/8/24 16:56, Daniel P. Berrangé wrote: > > > > The eBPF code is currently reporting error messag

Re: [PATCH 3/5] ebpf: add formal error reporting to all APIs

2024-08-07 Thread Philippe Mathieu-Daudé
On 7/8/24 09:37, Philippe Mathieu-Daudé wrote: On 6/8/24 17:20, Daniel P. Berrangé wrote: On Tue, Aug 06, 2024 at 05:11:55PM +0200, Philippe Mathieu-Daudé wrote: On 6/8/24 16:56, Daniel P. Berrangé wrote: The eBPF code is currently reporting error messages through trace events. Trace events ar

Re: [PATCH 3/5] ebpf: add formal error reporting to all APIs

2024-08-07 Thread Philippe Mathieu-Daudé
On 6/8/24 17:20, Daniel P. Berrangé wrote: On Tue, Aug 06, 2024 at 05:11:55PM +0200, Philippe Mathieu-Daudé wrote: On 6/8/24 16:56, Daniel P. Berrangé wrote: The eBPF code is currently reporting error messages through trace events. Trace events are fine for debugging, but they are not to be con

Re: [PATCH 3/5] ebpf: add formal error reporting to all APIs

2024-08-06 Thread Daniel P . Berrangé
On Tue, Aug 06, 2024 at 05:11:55PM +0200, Philippe Mathieu-Daudé wrote: > On 6/8/24 16:56, Daniel P. Berrangé wrote: > > The eBPF code is currently reporting error messages through trace > > events. Trace events are fine for debugging, but they are not to be > > considered the primary error reporti

Re: [PATCH 3/5] ebpf: add formal error reporting to all APIs

2024-08-06 Thread Philippe Mathieu-Daudé
On 6/8/24 16:56, Daniel P. Berrangé wrote: The eBPF code is currently reporting error messages through trace events. Trace events are fine for debugging, but they are not to be considered the primary error reporting mechanism, as their output is inaccessible to callers. This adds an "Error **err

[PATCH 3/5] ebpf: add formal error reporting to all APIs

2024-08-06 Thread Daniel P . Berrangé
The eBPF code is currently reporting error messages through trace events. Trace events are fine for debugging, but they are not to be considered the primary error reporting mechanism, as their output is inaccessible to callers. This adds an "Error **errp" parameter to all methods which have import