commit | 3783f814e7e2e11cbd4e18e51e710db37900a1b8 | [log] [tgz] |
---|---|---|
author | Cédric Le Goater <clg@redhat.com> | Thu May 16 14:46:54 2024 +0200 |
committer | Cédric Le Goater <clg@redhat.com> | Thu May 16 16:59:19 2024 +0200 |
tree | bae379388e7f9c94a3f3f76ba9f41eaddbab1b77 | |
parent | fbd2469a66e3fd3f3457170928daf8098f207427 [diff] |
vfio/migration: Add Error** argument to .vfio_save_config() handler 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é <philmd@linaro.org> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Avihai Horon <avihaih@nvidia.com> Signed-off-by: Cédric Le Goater <clg@redhat.com>