qemu/include
Joao Martins 3d4d0f0e06 vfio/migration: Refactor PRE_COPY and RUNNING state checks
Move the PRE_COPY and RUNNING state checks to helper functions.

This is in preparation for adding P2P VFIO migration support, where
these helpers will also test for PRE_COPY_P2P and RUNNING_P2P states.

Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
Signed-off-by: Avihai Horon <avihaih@nvidia.com>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Tested-by: YangHang Liu <yanghliu@redhat.com>
Signed-off-by: Cédric Le Goater <clg@redhat.com>
2023-09-11 08:34:05 +02:00
..
2023-09-08 10:06:25 -04:00
2023-09-08 13:08:52 +03:00
2023-09-08 13:08:52 +03:00
2023-07-01 08:26:54 +02:00
2023-09-07 14:01:29 -04:00
2023-08-31 19:47:43 +02:00
2023-09-06 11:16:01 -04:00
2023-08-31 19:47:43 +02:00