]> xenbits.xensource.com Git - libvirt.git/commitdiff
documentation: Remove untrue statement in GetVersion() description
authorStepan Zobal <szobal@redhat.com>
Thu, 12 Sep 2024 13:26:27 +0000 (15:26 +0200)
committerMartin Kletzander <mkletzan@redhat.com>
Thu, 12 Sep 2024 13:53:10 +0000 (15:53 +0200)
The description of virConnectGetVersion() says the function might only
work with a privileged access to the hypervisor, not with a read-only
connection.  However that is not true since commit a2e2e4652f29 and can
be safely removed.

Signed-off-by: Stepan Zobal <szobal@redhat.com>
Reviewed-by: Martin Kletzander <mkletzan@redhat.com>
src/libvirt-host.c

index e67b36812ea392d25142648d9f3ed32a8e1f6ee1..b3a6421a7fff60183d1bf25654da1737378e847e 100644 (file)
@@ -179,9 +179,7 @@ virConnectGetType(virConnectPtr conn)
  * @conn: pointer to the hypervisor connection
  * @hvVer: return value for the version of the running hypervisor (OUT)
  *
- * Get the version level of the Hypervisor running. This may work only with
- * hypervisor call, i.e. with privileged access to the hypervisor, not
- * with a Read-Only connection.
+ * Get the version level of the Hypervisor running.
  *
  * Returns -1 in case of error, 0 otherwise. if the version can't be
  *    extracted by lack of capacities returns 0 and @hvVer is 0, otherwise