Searched refs:VFIO_DEVICE_STATE_PRE_COPY (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/vfio/ |
H A D | vfio_main.c | 691 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_RUNNING_P2P, in vfio_mig_get_next_state() 701 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_PRE_COPY, in vfio_mig_get_next_state() 708 [VFIO_DEVICE_STATE_PRE_COPY] = { in vfio_mig_get_next_state() 711 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_PRE_COPY, in vfio_mig_get_next_state() 721 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_PRE_COPY, in vfio_mig_get_next_state() 731 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_ERROR, in vfio_mig_get_next_state() 741 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_STOP, in vfio_mig_get_next_state() 751 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_RUNNING, in vfio_mig_get_next_state() 761 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_ERROR, in vfio_mig_get_next_state() 773 [VFIO_DEVICE_STATE_PRE_COPY] = in vfio_mig_get_next_state()
|
/openbmc/qemu/hw/vfio/ |
H A D | migration.c | 75 case VFIO_DEVICE_STATE_PRE_COPY: in mig_state_to_str() 98 case VFIO_DEVICE_STATE_PRE_COPY: in mig_state_to_qapi_state() 478 ret = vfio_migration_set_state(vbasedev, VFIO_DEVICE_STATE_PRE_COPY, in vfio_save_setup() 798 new_state = migration->device_state == VFIO_DEVICE_STATE_PRE_COPY ? in vfio_vmstate_change_prepare()
|
H A D | common.c | 169 return migration->device_state == VFIO_DEVICE_STATE_PRE_COPY || in vfio_device_state_is_precopy()
|
/openbmc/linux/drivers/vfio/pci/mlx5/ |
H A D | main.c | 413 if (mvdev->mig_state != VFIO_DEVICE_STATE_PRE_COPY && in mlx5vf_precopy_ioctl() 424 if (mvdev->mig_state == VFIO_DEVICE_STATE_PRE_COPY) { in mlx5vf_precopy_ioctl() 1052 (cur == VFIO_DEVICE_STATE_PRE_COPY && new == VFIO_DEVICE_STATE_PRE_COPY_P2P)) { in mlx5vf_pci_step_device_state_locked() 1061 (cur == VFIO_DEVICE_STATE_PRE_COPY_P2P && new == VFIO_DEVICE_STATE_PRE_COPY)) { in mlx5vf_pci_step_device_state_locked() 1081 (cur == VFIO_DEVICE_STATE_PRE_COPY && new == VFIO_DEVICE_STATE_RUNNING) || in mlx5vf_pci_step_device_state_locked() 1111 if ((cur == VFIO_DEVICE_STATE_RUNNING && new == VFIO_DEVICE_STATE_PRE_COPY) || in mlx5vf_pci_step_device_state_locked()
|
/openbmc/linux/drivers/vfio/pci/hisilicon/ |
H A D | hisi_acc_vfio_pci.c | 788 if (hisi_acc_vdev->mig_state != VFIO_DEVICE_STATE_PRE_COPY) { in hisi_acc_vf_precopy_ioctl() 960 if (cur == VFIO_DEVICE_STATE_RUNNING && new == VFIO_DEVICE_STATE_PRE_COPY) { in hisi_acc_vf_set_device_state() 971 if (cur == VFIO_DEVICE_STATE_PRE_COPY && new == VFIO_DEVICE_STATE_STOP_COPY) { in hisi_acc_vf_set_device_state() 1027 if (cur == VFIO_DEVICE_STATE_PRE_COPY && new == VFIO_DEVICE_STATE_RUNNING) { in hisi_acc_vf_set_device_state()
|
/openbmc/linux/include/uapi/linux/ |
H A D | vfio.h | 1218 VFIO_DEVICE_STATE_PRE_COPY = 6, enumerator
|
/openbmc/qemu/linux-headers/linux/ |
H A D | vfio.h | 1220 VFIO_DEVICE_STATE_PRE_COPY = 6, enumerator
|