Re: [PATCH] Add missing parameter in python Disk IO error callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 06/23/2010 08:06 AM, Daniel P. Berrange wrote:
> The IO error callback was forgetting to pass the action
> parameter, causing a stack trace when IO errors arrive
> 
> * python/libvirt-override-virConnect.py: Add missing action
>   parameter in IO error callback
> ---
>  python/libvirt-override-virConnect.py |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/python/libvirt-override-virConnect.py b/python/libvirt-override-virConnect.py
> index df39b79..1a1cdd0 100644
> --- a/python/libvirt-override-virConnect.py
> +++ b/python/libvirt-override-virConnect.py
> @@ -94,7 +94,7 @@
>              cb = cbData["cb"]
>              opaque = cbData["opaque"]
>  
> -            cb(self, virDomain(self, _obj=dom), srcPath, devAlias, opaque)
> +            cb(self, virDomain(self, _obj=dom), srcPath, devAlias, action, opaque)

ACK.

-- 
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]