diff options
| author | Kunkun Jiang | 2021-05-27 14:31:01 +0200 |
|---|---|---|
| committer | Alex Williamson | 2021-06-18 16:38:04 +0200 |
| commit | 22fca190e25b10761925bb1eeadeda07aabf3c26 (patch) | |
| tree | f011115d20d069ade07b727f7aee6bde882ce5b4 /scripts | |
| parent | docs/devel: Add VFIO device migration documentation (diff) | |
| download | qemu-22fca190e25b10761925bb1eeadeda07aabf3c26.tar.gz qemu-22fca190e25b10761925bb1eeadeda07aabf3c26.tar.xz qemu-22fca190e25b10761925bb1eeadeda07aabf3c26.zip | |
vfio: Fix unregister SaveVMHandler in vfio_migration_finalize
In the vfio_migration_init(), the SaveVMHandler is registered for
VFIO device. But it lacks the operation of 'unregister'. It will
lead to 'Segmentation fault (core dumped)' in
qemu_savevm_state_setup(), if performing live migration after a
VFIO device is hot deleted.
Fixes: 7c2f5f75f94 (vfio: Register SaveVMHandlers for VFIO device)
Reported-by: Qixin Gan <ganqixin@huawei.com>
Signed-off-by: Kunkun Jiang <jiangkunkun@huawei.com>
Message-Id: <20210527123101.289-1-jiangkunkun@huawei.com>
Reviewed by: Kirti Wankhede <kwankhede@nvidia.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
