aboutsummaryrefslogtreecommitdiff
path: root/test/py/test_migration.py
diff options
context:
space:
mode:
authorMattias Nissler <122288598+mnissler-rivos@users.noreply.github.com>2023-08-31 10:53:22 +0200
committerGitHub <noreply@github.com>2023-08-31 09:53:22 +0100
commit8530d6c34d20eaddb3dcec78792cafccf1468f55 (patch)
treeb0f196323aef3c5ee4c0cce97a7b5e0039dd2aec /test/py/test_migration.py
parentf981913abd9a5926d38a48c6ba9b1ba7dacb1c11 (diff)
downloadlibvfio-user-8530d6c34d20eaddb3dcec78792cafccf1468f55.zip
libvfio-user-8530d6c34d20eaddb3dcec78792cafccf1468f55.tar.gz
libvfio-user-8530d6c34d20eaddb3dcec78792cafccf1468f55.tar.bz2
Construct server capabilities using json-c (#771)
String formatting is hitting its limits: Adding another field is difficult given that we already branch on whether migration is enabled. This change constructs a JSON-C object instead so we can add what we need and serialize to a string afterwards. Signed-off-by: Mattias Nissler <mnissler@rivosinc.com> Reviewed-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'test/py/test_migration.py')
0 files changed, 0 insertions, 0 deletions