From: Dan Kenigsberg Date: Wed, 22 Aug 2018 05:43:32 +0000 (+0300) Subject: src: storage: Provide a better explanation of virStoragePoolSetAutostart X-Git-Tag: v4.7.0-rc1~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d88a87d6c4dbfde0d0e5f29c16099a14ee726ce8;p=thirdparty%2Flibvirt.git src: storage: Provide a better explanation of virStoragePoolSetAutostart The former documentation was an unhelpful tautology. The suggested doc borrows the wording from virDomainSetAutostart. Signed-off-by: Dan Kenigsberg Reviewed-by: Erik Skultety --- diff --git a/src/libvirt-storage.c b/src/libvirt-storage.c index 1879c6bd60..2ea3e94e45 100644 --- a/src/libvirt-storage.c +++ b/src/libvirt-storage.c @@ -1125,9 +1125,10 @@ virStoragePoolGetAutostart(virStoragePoolPtr pool, /** * virStoragePoolSetAutostart: * @pool: pointer to storage pool - * @autostart: new flag setting + * @autostart: whether the storage pool should be automatically started 0 or 1 * - * Sets the autostart flag + * Configure the storage pool to be automatically started + * when the host machine boots. * * Returns 0 on success, -1 on failure */