On Wed, May 02, 2018 at 12:34:45PM +0200, Katerina Koukiou wrote:
Signed-off-by: Katerina Koukiou <kkoukiou(a)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(a)redhat.com>