diff --git a/tests/clone-xml/cross-pool-disks-out.xml b/tests/clone-xml/cross-pool-disks-out.xml index 6093e240..260f321c 100644 --- a/tests/clone-xml/cross-pool-disks-out.xml +++ b/tests/clone-xml/cross-pool-disks-out.xml @@ -1,7 +1,7 @@ new1.img 1000000 - 1000000 + 50000 @@ -12,7 +12,7 @@ new2.img 1000000 - 1000000 + 50000 diff --git a/virtinst/cloner.py b/virtinst/cloner.py index 65315b8e..3132713c 100644 --- a/virtinst/cloner.py +++ b/virtinst/cloner.py @@ -330,7 +330,7 @@ class Cloner(object): vol_install.input_vol = orig_disk.get_vol_object() vol_install.sync_input_vol(only_format=True) - if self.clone_sparse: + if not self.clone_sparse: vol_install.allocation = vol_install.capacity vol_install.reflink = self.reflink clone_disk.set_vol_install(vol_install)