aboutsummaryrefslogtreecommitdiff
path: root/test/py/libvfio_user.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/libvfio_user.py')
-rw-r--r--test/py/libvfio_user.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/py/libvfio_user.py b/test/py/libvfio_user.py
index 246a4f1..ec9da7b 100644
--- a/test/py/libvfio_user.py
+++ b/test/py/libvfio_user.py
@@ -111,10 +111,10 @@ VFIO_IRQ_SET_ACTION_TRIGGER = (1 << 5)
VFIO_DMA_UNMAP_FLAG_ALL = (1 << 1)
-VFIO_DEVICE_STATE_STOP = (0)
-VFIO_DEVICE_STATE_RUNNING = (1 << 0)
-VFIO_DEVICE_STATE_SAVING = (1 << 1)
-VFIO_DEVICE_STATE_RESUMING = (1 << 2)
+VFIO_DEVICE_STATE_V1_STOP = (0)
+VFIO_DEVICE_STATE_V1_RUNNING = (1 << 0)
+VFIO_DEVICE_STATE_V1_SAVING = (1 << 1)
+VFIO_DEVICE_STATE_V1_RESUMING = (1 << 2)
VFIO_DEVICE_STATE_MASK = ((1 << 3) - 1)