[libvirt] [libvirt-python PATCH] Add details for shutdown event

Peter Krempa pkrempa at redhat.com
Tue Jun 20 14:26:29 UTC 2017


On Tue, Jun 20, 2017 at 16:21:34 +0200, Martin Kletzander wrote:
> In commit a8eba5036cb4b0e2ec827e9e6e019ce70e451377, libvirt added
> support for two more details.  Follow that in python bindings as well.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1463188
> 
> Signed-off-by: Martin Kletzander <mkletzan at redhat.com>
> ---
>  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 3bca9e27c9be..4eb71425cff4 100755
> --- a/examples/event-test.py
> +++ b/examples/event-test.py
> @@ -477,7 +477,7 @@ def domDetailToString(event, detail):
>          ( "Paused", "Migrated", "IOError", "Watchdog", "Restored", "Snapshot", "API error" ),
>          ( "Unpaused", "Migrated", "Snapshot" ),
>          ( "Shutdown", "Destroyed", "Crashed", "Migrated", "Saved", "Failed", "Snapshot"),
> -        ( "Finished", ),
> +        ( "Finished", "On guest request", "On host request"),
>          ( "Memory", "Disk" ),
>          ( "Panicked", ),
>          )

ACK if you mention in the commit message that only the test/example file
was wrong. 
-------------- 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/20170620/3ec09ee6/attachment-0001.sig>


More information about the libvir-list mailing list