aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_device_get_region_info.py
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-05-25 16:01:20 +0100
committerGitHub <noreply@github.com>2021-05-25 16:01:20 +0100
commit29d91682128b26482c55a7f87b4849cd05d8ca88 (patch)
treeb6a00871c6c5488e0da9082bdd81e57442ff1c0c /test/py/test_device_get_region_info.py
parentdf72df510f4696fb4835fd42e8f4de2dcb7cf428 (diff)
downloadlibvfio-user-29d91682128b26482c55a7f87b4849cd05d8ca88.zip
libvfio-user-29d91682128b26482c55a7f87b4849cd05d8ca88.tar.gz
libvfio-user-29d91682128b26482c55a7f87b4849cd05d8ca88.tar.bz2
more spec updates (#491)
update spec to v0.9.1 Changes include: - reply message includes the command number - split out message definitions into request/reply sections, and skip the repeated standard header definitions - lots of markup fixes - re-organization for clarity - further documentation of argsz - remove VFIO_USER_VM_INTERRUPT until we have a working implementation - dirty page tracking is optional - fix implementations to match the spec Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'test/py/test_device_get_region_info.py')
-rw-r--r--test/py/test_device_get_region_info.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/py/test_device_get_region_info.py b/test/py/test_device_get_region_info.py
index 742e689..c81d97b 100644
--- a/test/py/test_device_get_region_info.py
+++ b/test/py/test_device_get_region_info.py
@@ -108,7 +108,7 @@ def test_device_get_region_info_larger_argsz():
vfu_run_ctx(ctx)
result = get_reply(sock)
- assert(len(result) == 32 + 8)
+ assert(len(result) == 32)
info, _ = vfio_region_info(result)