Home
last modified time | relevance | path

Searched refs:VFIO_DEVICE_STATE_RUNNING (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/vfio/
H A Dvfio_main.c698 [VFIO_DEVICE_STATE_RUNNING] = { in vfio_mig_get_next_state()
700 [VFIO_DEVICE_STATE_RUNNING] = VFIO_DEVICE_STATE_RUNNING, in vfio_mig_get_next_state()
709 [VFIO_DEVICE_STATE_STOP] = VFIO_DEVICE_STATE_RUNNING, in vfio_mig_get_next_state()
710 [VFIO_DEVICE_STATE_RUNNING] = VFIO_DEVICE_STATE_RUNNING, in vfio_mig_get_next_state()
714 [VFIO_DEVICE_STATE_RESUMING] = VFIO_DEVICE_STATE_RUNNING, in vfio_mig_get_next_state()
730 [VFIO_DEVICE_STATE_RUNNING] = VFIO_DEVICE_STATE_STOP, in vfio_mig_get_next_state()
740 [VFIO_DEVICE_STATE_RUNNING] = VFIO_DEVICE_STATE_STOP, in vfio_mig_get_next_state()
750 [VFIO_DEVICE_STATE_RUNNING] = VFIO_DEVICE_STATE_RUNNING, in vfio_mig_get_next_state()
751 [VFIO_DEVICE_STATE_PRE_COPY] = VFIO_DEVICE_STATE_RUNNING, in vfio_mig_get_next_state()
760 [VFIO_DEVICE_STATE_RUNNING] = VFIO_DEVICE_STATE_ERROR, in vfio_mig_get_next_state()
[all …]
/openbmc/linux/drivers/vfio/pci/pds/
H A Dvfio_dev.c41 pds_vfio->deferred_reset_state = VFIO_DEVICE_STATE_RUNNING; in pds_vfio_state_mutex_unlock()
53 pds_vfio->deferred_reset_state = VFIO_DEVICE_STATE_RUNNING; in pds_vfio_reset()
196 pds_vfio->state = VFIO_DEVICE_STATE_RUNNING; in pds_vfio_open_device()
197 pds_vfio->deferred_reset_state = VFIO_DEVICE_STATE_RUNNING; in pds_vfio_open_device()
H A Dpci_drv.c41 if ((pds_vfio->state != VFIO_DEVICE_STATE_RUNNING && in pds_vfio_recovery()
43 (pds_vfio->state == VFIO_DEVICE_STATE_RUNNING && in pds_vfio_recovery()
H A Dlm.c408 if (cur == VFIO_DEVICE_STATE_RUNNING && next == VFIO_DEVICE_STATE_RUNNING_P2P) { in pds_vfio_step_device_state_locked()
419 if (cur == VFIO_DEVICE_STATE_RUNNING_P2P && next == VFIO_DEVICE_STATE_RUNNING) { in pds_vfio_step_device_state_locked()
/openbmc/qemu/hw/vfio/
H A Dmigration.c67 case VFIO_DEVICE_STATE_RUNNING: in mig_state_to_str()
90 case VFIO_DEVICE_STATE_RUNNING: in mig_state_to_qapi_state()
226 vfio_migration_set_device_state(vbasedev, VFIO_DEVICE_STATE_RUNNING); in vfio_migration_set_state()
477 case VFIO_DEVICE_STATE_RUNNING: in vfio_save_setup()
479 VFIO_DEVICE_STATE_RUNNING, errp); in vfio_save_setup()
824 new_state = VFIO_DEVICE_STATE_RUNNING; in vfio_vmstate_change()
864 VFIO_DEVICE_STATE_RUNNING, in vfio_migration_state_notifier()
944 migration->device_state = VFIO_DEVICE_STATE_RUNNING; in vfio_migration_init()
H A Dcommon.c161 return migration->device_state == VFIO_DEVICE_STATE_RUNNING || in vfio_device_state_is_running()
/openbmc/linux/drivers/vfio/pci/hisilicon/
H A Dhisi_acc_vfio_pci.c646 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vf_state_mutex_unlock()
960 if (cur == VFIO_DEVICE_STATE_RUNNING && new == VFIO_DEVICE_STATE_PRE_COPY) { in hisi_acc_vf_set_device_state()
985 if (cur == VFIO_DEVICE_STATE_RUNNING && new == VFIO_DEVICE_STATE_STOP) { 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()
1032 if (cur == VFIO_DEVICE_STATE_STOP && new == VFIO_DEVICE_STATE_RUNNING) { in hisi_acc_vf_set_device_state()
1322 hisi_acc_vdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in hisi_acc_vfio_pci_open_device()
/openbmc/linux/drivers/vfio/pci/mlx5/
H A Dmain.c1051 if ((cur == VFIO_DEVICE_STATE_RUNNING && new == VFIO_DEVICE_STATE_RUNNING_P2P) || in mlx5vf_pci_step_device_state_locked()
1060 if ((cur == VFIO_DEVICE_STATE_RUNNING_P2P && new == VFIO_DEVICE_STATE_RUNNING) || 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()
1151 mvdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in mlx5vf_state_mutex_unlock()
1256 mvdev->mig_state = VFIO_DEVICE_STATE_RUNNING; in mlx5vf_pci_open_device()
/openbmc/linux/include/uapi/linux/
H A Dvfio.h1214 VFIO_DEVICE_STATE_RUNNING = 2, enumerator
/openbmc/qemu/linux-headers/linux/
H A Dvfio.h1216 VFIO_DEVICE_STATE_RUNNING = 2, enumerator