aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2024-05-30 13:47:35 +0100
committerGitHub <noreply@github.com>2024-05-30 13:47:35 +0100
commit2bf46f24e64bbca253ffa1c6f3d8a11d0dcfa55b (patch)
tree52405b826f48ffaee0563ce35b812faa12a1d52e /test
parentc4ce707207781ddb1c4e1d861b3f0867a4437d4e (diff)
downloadlibvfio-user-master.zip
libvfio-user-master.tar.gz
libvfio-user-master.tar.bz2
bump MAX_DMA_REGIONS (#800)HEADmaster
Some perfectly reasonable VMs exceed 16 VMs; bump this up somewhat. Signed-off-by: John Levon <john.levon@nutanix.com>
Diffstat (limited to 'test')
-rw-r--r--test/py/libvfio_user.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/libvfio_user.py b/test/py/libvfio_user.py
index 976590c..e68e126 100644
--- a/test/py/libvfio_user.py
+++ b/test/py/libvfio_user.py
@@ -160,7 +160,7 @@ def is_32bit():
return (1 << 31) - 1 == sys.maxsize
-MAX_DMA_REGIONS = 16
+MAX_DMA_REGIONS = 64
# FIXME get from libvfio-user.h
MAX_DMA_SIZE = sys.maxsize << 1 if is_32bit() else (8 * ONE_TB)