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

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



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 redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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