We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 190125a commit f2240b4Copy full SHA for f2240b4
drivers/vfio/pci/hisilicon/hisi_acc_vfio_pci.c
@@ -1351,7 +1351,7 @@ static int hisi_acc_vfio_pci_migrn_init_dev(struct vfio_device *core_vdev)
1351
hisi_acc_vdev->vf_dev = pdev;
1352
mutex_init(&hisi_acc_vdev->state_mutex);
1353
1354
- core_vdev->migration_flags = VFIO_MIGRATION_STOP_COPY;
+ core_vdev->migration_flags = VFIO_MIGRATION_STOP_COPY | VFIO_MIGRATION_PRE_COPY;
1355
core_vdev->mig_ops = &hisi_acc_vfio_pci_migrn_state_ops;
1356
1357
return vfio_pci_core_init_dev(core_vdev);
0 commit comments