aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_negotiate.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/py/test_negotiate.py')
-rw-r--r--test/py/test_negotiate.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/py/test_negotiate.py b/test/py/test_negotiate.py
index a3f2a8a..524f59f 100644
--- a/test/py/test_negotiate.py
+++ b/test/py/test_negotiate.py
@@ -41,6 +41,7 @@ def client_version_json(expect=0, json=''):
payload = struct.pack("HH%dsc" % len(json),
LIBVFIO_USER_MAJOR, LIBVFIO_USER_MINOR, json, b'\0')
+
hdr = vfio_user_header(VFIO_USER_VERSION, size=len(payload))
sock.send(hdr + payload)
vfu_attach_ctx(ctx, expect=expect)