Re: [PATCH v5 05/10] vfio: Add Error** argument to .vfio_save_config() handler

2024-05-14 Thread Cédric Le Goater
On 5/13/24 15:30, Avihai Horon wrote: On 06/05/2024 12:20, Cédric Le Goater wrote: External email: Use caution opening links or attachments Use vmstate_save_state_with_err() to improve error reporting in the callers and store a reported error under the migration stream. Add documentation

Re: [PATCH v5 05/10] vfio: Add Error** argument to .vfio_save_config() handler

2024-05-13 Thread Avihai Horon
On 06/05/2024 12:20, Cédric Le Goater wrote: External email: Use caution opening links or attachments Use vmstate_save_state_with_err() to improve error reporting in the callers and store a reported error under the migration stream. Add documentation while at it. Reviewed-by: Philippe

[PATCH v5 05/10] vfio: Add Error** argument to .vfio_save_config() handler

2024-05-06 Thread Cédric Le Goater
Use vmstate_save_state_with_err() to improve error reporting in the callers and store a reported error under the migration stream. Add documentation while at it. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Cédric Le Goater --- include/hw/vfio/vfio-common.h | 25 -