]> xenbits.xensource.com Git - libvirt.git/commitdiff
scripts: hvsupport: Properly register virConnectOpenAuth/virConnectOpenReadOnly APIs
authorPeter Krempa <pkrempa@redhat.com>
Wed, 17 May 2023 14:12:44 +0000 (16:12 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 18 May 2023 08:06:51 +0000 (10:06 +0200)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
scripts/hvsupport.py

index 5ae93f66d3a2e1112951bffb83c2fd5894e0d6e0..726385f78e849c72042d3a0e1575e207bf6de0c8 100755 (executable)
@@ -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"