diff options
author | Joao Martins <joao.m.martins@oracle.com> | 2023-08-02 11:14:47 +0300 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2023-09-11 08:34:05 +0200 |
commit | 3d4d0f0e06630d0098e7940323fe0f96ff87f34f (patch) | |
tree | 50d5200e9a37b4a65bd7869c28e046b4bef6378a /docs | |
parent | 02b2e25360ea1f10a337ddaf686eb770eebf59de (diff) | |
download | qemu-3d4d0f0e06630d0098e7940323fe0f96ff87f34f.zip qemu-3d4d0f0e06630d0098e7940323fe0f96ff87f34f.tar.gz qemu-3d4d0f0e06630d0098e7940323fe0f96ff87f34f.tar.bz2 |
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>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions