diff options
| author | Alex Williamson <alex.williamson@redhat.com> | 2022-05-13 08:20:08 -0600 |
|---|---|---|
| committer | Alex Williamson <alex.williamson@redhat.com> | 2022-05-13 08:20:11 -0600 |
| commit | e4082063e47e9731dbeb1c26174c17f6038f577f (patch) | |
| tree | fca7d5c3f029a4c53bd2171d2a8f06eed5c64221 /hw/vfio/common.c | |
| parent | 9de5f2b40860c5f8295e73fea9922df6f0b8d89a (diff) | |
| download | focaccia-qemu-e4082063e47e9731dbeb1c26174c17f6038f577f.tar.gz focaccia-qemu-e4082063e47e9731dbeb1c26174c17f6038f577f.zip | |
linux-headers: Update to v5.18-rc6
Update to c5eb0a61238d ("Linux 5.18-rc6"). Mechanical search and
replace of vfio defines with white space massaging.
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'hw/vfio/common.c')
| -rw-r--r-- | hw/vfio/common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 159f910421..29982c7af8 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -355,7 +355,7 @@ static bool vfio_devices_all_dirty_tracking(VFIOContainer *container) } if ((vbasedev->pre_copy_dirty_page_tracking == ON_OFF_AUTO_OFF) - && (migration->device_state & VFIO_DEVICE_STATE_RUNNING)) { + && (migration->device_state & VFIO_DEVICE_STATE_V1_RUNNING)) { return false; } } @@ -381,8 +381,8 @@ static bool vfio_devices_all_running_and_saving(VFIOContainer *container) return false; } - if ((migration->device_state & VFIO_DEVICE_STATE_SAVING) && - (migration->device_state & VFIO_DEVICE_STATE_RUNNING)) { + if ((migration->device_state & VFIO_DEVICE_STATE_V1_SAVING) && + (migration->device_state & VFIO_DEVICE_STATE_V1_RUNNING)) { continue; } else { return false; |