Re: [PATCH v6 2/9] vfio: Add Error** argument to vfio_devices_dma_logging_start()

2024-05-15 Thread Cédric Le Goater
On 5/15/24 08:53, Eric Auger wrote: Hi Cédric, On 5/14/24 17:31, Cédric Le Goater wrote: This allows to update the Error argument of the VFIO log_global_start() handler. Errors for container based logging will also be propagated to qemu_savevm_state_setup() when the ram save_setup() handler is

Re: [PATCH v6 2/9] vfio: Add Error** argument to vfio_devices_dma_logging_start()

2024-05-15 Thread Eric Auger
Hi Cédric, On 5/14/24 17:31, Cédric Le Goater wrote: > This allows to update the Error argument of the VFIO log_global_start() > handler. Errors for container based logging will also be propagated to > qemu_savevm_state_setup() when the ram save_setup() handler is executed. nit: also now collect &

[PATCH v6 2/9] vfio: Add Error** argument to vfio_devices_dma_logging_start()

2024-05-14 Thread Cédric Le Goater
This allows to update the Error argument of the VFIO log_global_start() handler. Errors for container based logging will also be propagated to qemu_savevm_state_setup() when the ram save_setup() handler is executed. The vfio_set_migration_error() call becomes redundant in