diff options
author | Longfang Liu <liulongfang@huawei.com> | 2025-05-10 16:11:54 +0800 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2025-05-19 12:41:31 -0600 |
commit | 2777a40998deb36f96b6afc48bd397cf58a4edf0 (patch) | |
tree | 61b47c5f4d020d8febaf3fb7fa593d954a090448 /scripts/lib/kdoc/kdoc_parser.py | |
parent | db6525a8573957faea28850392f4744e5f8f7a53 (diff) |
hisi_acc_vfio_pci: bugfix live migration function without VF device driver
If the VF device driver is not loaded in the Guest OS and we attempt to
perform device data migration, the address of the migrated data will
be NULL.
The live migration recovery operation on the destination side will
access a null address value, which will cause access errors.
Therefore, live migration of VMs without added VF device drivers
does not require device data migration.
In addition, when the queue address data obtained by the destination
is empty, device queue recovery processing will not be performed.
Fixes: b0eed085903e ("hisi_acc_vfio_pci: Add support for VFIO live migration")
Signed-off-by: Longfang Liu <liulongfang@huawei.com>
Reviewed-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Link: https://lore.kernel.org/r/20250510081155.55840-6-liulongfang@huawei.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions