Messages in this thread | | | From | Shameer Kolothum <> | Subject | [PATCH 0/4] hisi_acc_vfio_pci: Add PRE_COPY migration feature support | Date | Wed, 23 Nov 2022 11:32:32 +0000 |
| |
Hi,
The optional PRE_COPY state support for migration feature is introduced by this series here[1](Thanks for that!). This is something HiSilicon ACC driver can make use for early dev compatibility checks and have made an attempt in the past here[2].
Adding this will speed up reporting the compatibility error early in the migration process without the need to wait for complete data transfer. This is sanity tested on a HiSilicon Platform.
Please take a look.
Regards, Shameer
1.https://lore.kernel.org/all/20221106174630.25909-1-yishaih@nvidia.com/ 2.https://lore.kernel.org/kvm/20220302172903.1995-8-shameerali.kolothum.thodi@huawei.com/
Shameer Kolothum (4): hisi_acc_vfio_pci: Add support for precopy IOCTL hisi_acc_vfio_pci: Introduce support for PRE_COPY state transitions hisi_acc_vfio_pci: Move the dev compatibility tests for early check hisi_acc_vfio_pci: Enable PRE_COPY flag
.../vfio/pci/hisilicon/hisi_acc_vfio_pci.c | 147 ++++++++++++++++-- .../vfio/pci/hisilicon/hisi_acc_vfio_pci.h | 2 + 2 files changed, 133 insertions(+), 16 deletions(-)
-- 2.34.1
| |