[libvirt] [PATCH 3/6] conf: Introduce virStoragePoolSaveState
Ján Tomko
jtomko at redhat.com
Fri Apr 3 08:17:00 UTC 2015
On Thu, Apr 02, 2015 at 12:10:37PM +0200, Erik Skultety wrote:
> Properly format storage pool state XML.
>
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1177733
> ---
> src/conf/storage_conf.c | 35 +++++++++++++++++++++++++++++++++++
> src/conf/storage_conf.h | 4 +++-
> src/libvirt_private.syms | 1 +
> 3 files changed, 39 insertions(+), 1 deletion(-)
>
> diff --git a/src/conf/storage_conf.h b/src/conf/storage_conf.h
> index 4584075..da378b7 100644
> --- a/src/conf/storage_conf.h
> +++ b/src/conf/storage_conf.h
> @@ -371,7 +371,9 @@ virStoragePoolObjPtr
> virStoragePoolObjAssignDef(virStoragePoolObjListPtr pools,
> virStoragePoolDefPtr def);
>
> -int virStoragePoolSaveConfig(const char *configDir,
This change from configDir
> +int virStoragePoolSaveState(const char *stateFile,
> + virStoragePoolDefPtr def);
> +int virStoragePoolSaveConfig(const char *configFile,
to configFile should be in a separate commit.
(You can just push it under the trivial rule)
Jan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150403/8f1851dc/attachment-0001.sig>
More information about the libvir-list
mailing list