[PATCH 0/4] hisi_acc_vfio_pci: Add PRE_COPY migration feature support

From: Shameer Kolothum
Date: Wed Nov 23 2022 - 06:33:33 EST


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@xxxxxxxxxx/
2.https://lore.kernel.org/kvm/20220302172903.1995-8-shameerali.kolothum.thodi@xxxxxxxxxx/

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