On 05/17/2017 04:16 AM, Pavel Hrdina wrote:
> The _pool_xml in StorageVolume is used unconditionally, we need to
> set it right away.
> 
> Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1450311
> 
> Signed-off-by: Pavel Hrdina <[email protected]>
> ---
>  virtinst/diskbackend.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/virtinst/diskbackend.py b/virtinst/diskbackend.py
> index 41c712ee..678548ac 100644
> --- a/virtinst/diskbackend.py
> +++ b/virtinst/diskbackend.py
> @@ -547,6 +547,7 @@ class StorageBackend(_StorageBase):
>          if self._vol_xml is None:
>              self._vol_xml = StorageVolume(self._conn,
>                  parsexml=self._vol_object.XMLDesc(0))
> +            self._vol_xml.pool = self._parent_pool
>          return self._vol_xml
>  
>      def get_parent_pool(self):
> 

ACK

Thanks,
Cole

_______________________________________________
virt-tools-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/virt-tools-list

Reply via email to