On 04/29/2015 05:00 AM, Ján Tomko wrote:
> Listen to the VIR_DOMAIN_EVENT_ID_DEVICE_ADDED event
> too, added by libvirt 1.2.15.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1179138
> 
> Signed-off-by: Ján Tomko <jto...@redhat.com>
> ---
> Libvirt 1.2.15 is scheduled for release this weekend. While the API is 
> unlikely
> to change, it is not final until then.
> 
>  virtManager/connection.py | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/virtManager/connection.py b/virtManager/connection.py
> index e1a0061..beef5f4 100644
> --- a/virtManager/connection.py
> +++ b/virtManager/connection.py
> @@ -775,6 +775,9 @@ class vmmConnection(vmmGObject):
>          _add_domain_xml_event(
>              getattr(libvirt, "VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED", 15),
>              "device removed")
> +        _add_domain_xml_event(
> +            getattr(libvirt, "VIR_DOMAIN_EVENT_ID_DEVICE_ADDED", 19),
> +            "device added")
>  
>          try:
>              if _disable_libvirt_events:
> 

ACK, and pushed.... before I read your disclaimer, I thought maybe giuseppe
was waiting for me. Will revert if it comes to it

Thanks,
Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@redhat.com
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to