[libvirt] [PATCH libvirt-python] Add daemon to list of shutdown reasons

Philipp Hahn hahn at univention.de
Fri Nov 16 05:17:41 UTC 2018


Add the support to work with libvirt commit 66a85cb13.

Signed-off-by: Philipp Hahn <hahn at univention.de>
---
 examples/event-test.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/event-test.py b/examples/event-test.py
index 709277b..81ebfc1 100755
--- a/examples/event-test.py
+++ b/examples/event-test.py
@@ -489,7 +489,7 @@ DOM_EVENTS = Description(
     ("Started", ("Booted", "Migrated", "Restored", "Snapshot", "Wakeup")),
     ("Suspended", ("Paused", "Migrated", "IOError", "Watchdog", "Restored", "Snapshot", "API error", "Postcopy", "Postcopy failed")),
     ("Resumed", ("Unpaused", "Migrated", "Snapshot", "Postcopy")),
-    ("Stopped", ("Shutdown", "Destroyed", "Crashed", "Migrated", "Saved", "Failed", "Snapshot")),
+    ("Stopped", ("Shutdown", "Destroyed", "Crashed", "Migrated", "Saved", "Failed", "Snapshot", "Daemon")),
     ("Shutdown", ("Finished", "On guest request", "On host request")),
     ("PMSuspended", ("Memory", "Disk")),
     ("Crashed", ("Panicked",)),
-- 
2.11.0




More information about the libvir-list mailing list