[libvirt] [libvirt-python PATCH v2] override: add virDomainFSFreeze and virDomainFSThaw API

Pavel Hrdina phrdina at redhat.com
Fri May 16 10:18:07 UTC 2014


On 14.5.2014 05:41, tomoki.sekiyama at hds.com wrote:
> From: Tomoki Sekiyama <tomoki.sekiyama at hds.com>
> 
> Hello Michael, 
> 
> Thank you for posting v2.
> May be we should add following diff to avoid sanitytest.pl's
> mapping error.
> 
> ---
> diff --git a/sanitytest.py b/sanitytest.py
> index cff30d5..62fe42b 100644
> --- a/sanitytest.py
> +++ b/sanitytest.py
> @@ -207,6 +207,8 @@ for name in sorted(basicklassmap):
>      func = func[0:1].lower() + func[1:]
>      if func[0:8] == "nWFilter":
>          func = "nwfilter" + func[8:]
> +    if func[0:8] == "fSFreeze" or func[0:6] == "fSThaw":
> +        func = "fs" + func[2:]
>  
>      # ...except when they don't. More stupid naming
>      # decisions we can't fix
> 

Tested and it works only with this change.

ACK with the diff above squashed into the patch.

Pavel




More information about the libvir-list mailing list