test/tsx: set grant version for created domains
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 17 Nov 2021 07:13:18 +0000 (08:13 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Nov 2021 07:13:18 +0000 (08:13 +0100)
commit306e0afbb382ec10081ab277c866e9e7c212dda5
tree402b03648db499cd9da0a4d0e1f8f489586dc524
parent810fbc03ff51275d9603b9896c9085d645733ed8
test/tsx: set grant version for created domains

Set the grant table version for the created domains to use version 1,
as such tests domains don't require the usage of the grant table at
all. A TODO note is added to switch those dummy domains to not have a
grant table at all when possible. Without setting the grant version
the domains for the tests cannot be created.

Fixes: 7379f9e10a ('gnttab: allow setting max version per-domain')
Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reported-by: Jan Beulich <jbeulich@suse.com>
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
tools/tests/tsx/test-tsx.c