On Mon, May 07, 2018 at 04:40:51PM +0200, Katerina Koukiou wrote:
> Signed-off-by: Katerina Koukiou <[email protected]>
> ---
>  data/org.libvirt.StoragePool.xml |  4 ++++
>  src/storagepool.c                | 23 +++++++++++++++++++++++
>  tests/test_storage.py            |  1 +
>  3 files changed, 28 insertions(+)
> 
> diff --git a/data/org.libvirt.StoragePool.xml 
> b/data/org.libvirt.StoragePool.xml
> index 29d501b..8bc90b7 100644
> --- a/data/org.libvirt.StoragePool.xml
> +++ b/data/org.libvirt.StoragePool.xml
> @@ -8,6 +8,10 @@
>        <annotation name="org.gtk.GDBus.DocString"
>            value="See 
> https://libvirt.org/html/libvirt-libvirt-storage.html#virStoragePoolGetAutostart"/>
>      </property>
> +    <property name="Name" type="s" access="read">
> +      <annotation name="org.gtk.GDBus.DocString"
> +          value="See 
> https://libvirt.org/html/libvirt-libvirt-storage.html#virStoragePoolGetName"/>
> +    </property>

This should be annotated as 'const' because there is no API to change
the name. The only way is to undefine it and define it again.

Pavel

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to