Cédric Le Goater <c...@redhat.com> writes: > On 2/6/25 14:14, Cédric Le Goater wrote: >> Depending on the configuration of the host and VM, a passthrough >> device may generate recurring DMA mapping errors at runtime. In such >> cases, reporting the issue once is sufficient. >> >> We have already the warn/error_report_once() routines taking a format >> and arguments. Using the same design pattern, add a new warning >> variant taking an 'Error *' parameter. >> >> Cc: Markus Armbruster <arm...@redhat.com> >> Signed-off-by: Cédric Le Goater <c...@redhat.com> >> --- >> include/qapi/error.h | 12 ++++++++++++ >> util/error.c | 11 +++++++++++ >> 2 files changed, 23 insertions(+) > > Hello Markus, > > Are you ok with this change ? Should we take it through the vfio queue ?
Yes, please. Reviewed-by: Markus Armbruster <arm...@redhat.com>