Re: [PATCH v4 19/25] vfio: Use new Error** argument in vfio_save_setup()

2024-03-07 Thread Cédric Le Goater
On 3/7/24 10:04, Eric Auger wrote: Hi Cédric, On 3/6/24 14:34, Cédric Le Goater wrote: Add an Error** argument to vfio_migration_set_state() and adjust callers, including vfio_save_setup(). The error will be propagated up to qemu_savevm_state_setup() where the save_setup() handler is executed.

Re: [PATCH v4 19/25] vfio: Use new Error** argument in vfio_save_setup()

2024-03-07 Thread Eric Auger
Hi Cédric, On 3/6/24 14:34, Cédric Le Goater wrote: > Add an Error** argument to vfio_migration_set_state() and adjust > callers, including vfio_save_setup(). The error will be propagated up > to qemu_savevm_state_setup() where the save_setup() handler is > executed. > > Modify vfio_vmstate_chang

[PATCH v4 19/25] vfio: Use new Error** argument in vfio_save_setup()

2024-03-06 Thread Cédric Le Goater
Add an Error** argument to vfio_migration_set_state() and adjust callers, including vfio_save_setup(). The error will be propagated up to qemu_savevm_state_setup() where the save_setup() handler is executed. Modify vfio_vmstate_change_prepare() and vfio_vmstate_change() to store a reported error u