[libvirt] [dbus PATCH v2 8/9] Implement NodeSuspendForDuration method for Connect Interface

Pavel Hrdina phrdina at redhat.com
Thu May 3 13:20:03 UTC 2018


On Wed, May 02, 2018 at 12:34:45PM +0200, Katerina Koukiou wrote:
> Signed-off-by: Katerina Koukiou <kkoukiou at redhat.com>
> ---
>  data/org.libvirt.Connect.xml |  8 ++++++++
>  src/connect.c                | 42 ++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 50 insertions(+)
> 
> diff --git a/data/org.libvirt.Connect.xml b/data/org.libvirt.Connect.xml
> index e46d28d..eb4990e 100644
> --- a/data/org.libvirt.Connect.xml
> +++ b/data/org.libvirt.Connect.xml
> @@ -206,6 +206,14 @@
>        <arg name="params" type="a{sv}" direction="in"/>
>        <arg name="flags" type="u" direction="in"/>
>      </method>
> +    <method name="NodeSuspendForDuration">
> +      <annotation name="org.gtk.GDBus.DocString"
> +          value="See https://libvirt.org/html/libvirt-libvirt-host.html#virNodeSuspendForDuration
> +                 @target argument should be one of 'mem', 'disk' or 'hybrid'."/>

We will probably remove the string->enum translation so I would wait to
get that pushed before pushing this patch.

Reviewed-by: Pavel Hrdina <phrdina at redhat.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180503/f05c265d/attachment-0001.sig>


More information about the libvir-list mailing list