[libvirt] [dbus PATCH v2 07/22] Introduce virtDBusDomainJobTypeToString function

Katerina Koukiou posted 22 patches 7 years, 1 month ago
There is a newer version of this series
[libvirt] [dbus PATCH v2 07/22] Introduce virtDBusDomainJobTypeToString function
Posted by Katerina Koukiou 7 years, 1 month ago
Signed-off-by: Katerina Koukiou <kkoukiou@redhat.com>
---
 src/domain.c | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/src/domain.c b/src/domain.c
index cd44d6b..bf352a7 100644
--- a/src/domain.c
+++ b/src/domain.c
@@ -3,6 +3,16 @@
 
 #include <libvirt/libvirt.h>
 
+VIRT_DBUS_ENUM_DECL(virtDBusDomainJob)
+VIRT_DBUS_ENUM_IMPL(virtDBusDomainJob,
+                    VIR_DOMAIN_JOB_LAST,
+                    "none",
+                    "bounded",
+                    "unbounded",
+                    "completed",
+                    "failed",
+                    "canceled")
+
 VIRT_DBUS_ENUM_DECL(virtDBusDomainMemoryStat)
 VIRT_DBUS_ENUM_IMPL(virtDBusDomainMemoryStat,
                     VIR_DOMAIN_MEMORY_STAT_LAST,
-- 
2.15.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [dbus PATCH v2 07/22] Introduce virtDBusDomainJobTypeToString function
Posted by Pavel Hrdina 7 years, 1 month ago
On Thu, Apr 12, 2018 at 04:32:46PM +0200, Katerina Koukiou wrote:
> Signed-off-by: Katerina Koukiou <kkoukiou@redhat.com>
> ---
>  src/domain.c | 10 ++++++++++
>  1 file changed, 10 insertions(+)

This can be squashed into the following patch.

Pavel
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list