tools/python: fix python libxc bindings to pass a max grant version
authorRoger Pau Monné <roger.pau@citrix.com>
Wed, 17 Nov 2021 11:43:05 +0000 (12:43 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 17 Nov 2021 11:43:05 +0000 (12:43 +0100)
commit1cffc48f1e1f972daeec579c62de4bb24f3152fa
tree8782ab2916f10b79d117bdbdb2a589dc979f586a
parent27ece0dd522278e074acc264dd95d734beb64d0f
tools/python: fix python libxc bindings to pass a max grant version

Such max version should be provided by the caller, otherwise the
bindings will default to specifying a max version of 2, which is
inline with the current defaults in the hypervisor.

Fixes: 7379f9e10a ('gnttab: allow setting max version per-domain')
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Ian Jackson <iwj@xenproject.org>
Acked-by: Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
Release-Acked-by: Ian Jackson <iwj@xenproject.org>
tools/python/xen/lowlevel/xc/xc.c