Maor Lipchuk has uploaded a new change for review.

Change subject: blockVolume: Add qcow2_compat on create
......................................................................

blockVolume: Add qcow2_compat on create

Pass qcow2 compat on create.

Change-Id: I9fe6bf59b76b68ed8f0e60f66057c07b56d2d942
Signed-off-by: Maor Lipchuk <mlipc...@redhat.com>
---
M vdsm/storage/blockVolume.py
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/76/64376/1

diff --git a/vdsm/storage/blockVolume.py b/vdsm/storage/blockVolume.py
index 2596abc..6a6aeda 100644
--- a/vdsm/storage/blockVolume.py
+++ b/vdsm/storage/blockVolume.py
@@ -469,7 +469,8 @@
                          size)
             if volFormat == sc.COW_FORMAT:
                 qemuimg.create(
-                    volPath, size * BLOCK_SIZE, sc.fmt2str(volFormat))
+                    volPath, size * BLOCK_SIZE, sc.fmt2str(volFormat),
+                    qcow2_compat=dom.qcow2_compat())
         else:
             # Create hardlink to template and its meta file
             cls.log.info("Request to create snapshot %s/%s of volume %s/%s",


-- 
To view, visit https://gerrit.ovirt.org/64376
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9fe6bf59b76b68ed8f0e60f66057c07b56d2d942
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com>
_______________________________________________
vdsm-patches mailing list -- vdsm-patches@lists.fedorahosted.org
To unsubscribe send an email to vdsm-patches-le...@lists.fedorahosted.org

Reply via email to