]> xenbits.xensource.com Git - libvirt.git/commitdiff
lib: minor fixes to virDomainGetGuestInfo docs
authorJonathon Jongsma <jjongsma@redhat.com>
Tue, 27 Aug 2019 20:35:53 +0000 (15:35 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 29 Aug 2019 06:52:03 +0000 (08:52 +0200)
Due to a typo, some of the field names didn't have closing quotes,
the information about the hostname was omitted and there was an
empty line missing after filesystem info description (which helps
our docs generator produce better looking HTML).

Signed-off-by: Jonathon Jongsma <jjongsma@redhat.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/libvirt-domain.c

index cea4d2c11bd47528b0871656efabeb6170c6fa30..bbd2dc2e6e26e3a4dc39a419aafa20d5feb6cb31 100644 (file)
@@ -12237,11 +12237,11 @@ virDomainSetVcpu(virDomainPtr domain,
  *
  *      "user.count" - the number of active users on this domain as an
  *                     unsigned int
- *      "user.<num>.name - username of the user as a string
- *      "user.<num>.domain - domain of the user as a string (may only be
- *                           present on certain guest types)
- *      "user.<num>.login-time - the login time of a user in milliseconds
- *                               since the epoch as unsigned long long
+ *      "user.<num>.name" - username of the user as a string
+ *      "user.<num>.domain" - domain of the user as a string (may only be
+ *                            present on certain guest types)
+ *      "user.<num>.login-time" - the login time of a user in milliseconds
+ *                                since the epoch as unsigned long long
  *
  * VIR_DOMAIN_GUEST_INFO_OS:
  *  Return information about the operating system running within the guest. The
@@ -12276,6 +12276,7 @@ virDomainSetVcpu(virDomainPtr domain,
  * VIR_DOMAIN_GUEST_INFO_FILESYSTEM:
  *  Returns inforamtion about the filesystems within the domain.  The typed
  *  parameter keys are in this format:
+ *
  *      "fs.count" - the number of filesystems defined on this domain
  *                   as an unsigned int
  *      "fs.<num>.mountpoint" - the path to the mount point for the filesystem
@@ -12288,6 +12289,12 @@ virDomainSetVcpu(virDomainPtr domain,
  *      "fs.<num>.disk.<num>.serial" - the serial number of the disk
  *      "fs.<num>.disk.<num>.device" - the device node of the disk
  *
+ * VIR_DOMAIN_GUEST_INFO_HOSTNAME:
+ *  Returns information about the hostname of the domain. The typed
+ *  parameter keys are in this format:
+ *
+ *      "hostname" - the hostname of the domain
+ *
  * Using 0 for @types returns all information groups supported by the given
  * hypervisor.
  *