From eca6846376ba4fd9299d7d2fa21fc90b02d86100 Mon Sep 17 00:00:00 2001 From: Peter Krempa Date: Wed, 17 May 2023 16:12:44 +0200 Subject: [PATCH] scripts: hvsupport: Properly register virConnectOpenAuth/virConnectOpenReadOnly APIs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Use the proper driver struct member names for the aforementioned APIs so that the fixup of the versions works properly. Currently we reported that no of the drivers supported the APIs despite being only shims above 'open'. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- scripts/hvsupport.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/hvsupport.py b/scripts/hvsupport.py index 5ae93f66d3..726385f78e 100755 --- a/scripts/hvsupport.py +++ b/scripts/hvsupport.py @@ -345,9 +345,9 @@ for src in srcs: # have a bit of manual fixup todo with the per-driver versioning # and support matrix -groups["virHypervisorDriver"]["apis"]["openAuth"] = \ +groups["virHypervisorDriver"]["apis"]["connectOpenAuth"] = \ "virConnectOpenAuth" -groups["virHypervisorDriver"]["apis"]["openReadOnly"] = \ +groups["virHypervisorDriver"]["apis"]["connectOpenReadOnly"] = \ "virConnectOpenReadOnly" groups["virHypervisorDriver"]["apis"]["domainMigrate"] = \ "virDomainMigrate"