summary refs log tree commit diff stats
path: root/include/exec/plugin-gen.h
diff options
context:
space:
mode:
authorCédric Le Goater <clg@redhat.com>2024-05-16 14:46:53 +0200
committerCédric Le Goater <clg@redhat.com>2024-05-16 16:59:19 +0200
commitfbd2469a66e3fd3f3457170928daf8098f207427 (patch)
treea10b2467ec368f836b8cddd75ce1bb0dfec0debd /include/exec/plugin-gen.h
parent019d9e6cc408f402dd27d6884ac7b742e0e4f99e (diff)
downloadfocaccia-qemu-fbd2469a66e3fd3f3457170928daf8098f207427.tar.gz
focaccia-qemu-fbd2469a66e3fd3f3457170928daf8098f207427.zip
vfio/migration: Add an Error** argument to vfio_migration_set_state()
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 under the migration stream if a migration is in
progress.

Reviewed-by: Avihai Horon <avihaih@nvidia.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'include/exec/plugin-gen.h')
0 files changed, 0 insertions, 0 deletions