[PATCH 2/7] scripts: hvsupport: Properly register virConnectOpenAuth/virConnectOpenReadOnly APIs

Peter Krempa pkrempa at redhat.com
Wed May 17 15:28:16 UTC 2023


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 <pkrempa at redhat.com>
---
 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"
-- 
2.40.1



More information about the libvir-list mailing list