Maor Lipchuk has uploaded a new change for review.
Change subject: volume_artifacts: Add qcow2_compat on create.
......................................................................
volume_artifacts: Add qcow2_compat on create.
Pass qcow2 compat on initialize volume.
Change-Id: I2dd2d53fba0dd69cdb4f60e152cf6d254cfb863a
Signed-off-by: Maor Lipchuk <mlipchuk(a)redhat.com>
---
M vdsm/storage/sdm/volume_artifacts.py
1 file changed, 2 insertions(+), 1 deletion(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/72/64372/1
diff --git a/vdsm/storage/sdm/volume_artifacts.py b/vdsm/storage/sdm/volume_artifacts.py
index d12f1b0..1e52a59 100644
--- a/vdsm/storage/sdm/volume_artifacts.py
+++ b/vdsm/storage/sdm/volume_artifacts.py
@@ -142,7 +142,8 @@
def _initialize_volume(self, vol_format, size):
if vol_format == sc.COW_FORMAT:
- qemuimg.create(self.volume_path, size, sc.fmt2str(vol_format))
+ qemuimg.create(self.volume_path, size, sc.fmt2str(vol_format),
+ qcow2_compat=self.sd_manifest.qcow2_compat)
class FileVolumeArtifacts(VolumeArtifacts):
--
To view, visit
https://gerrit.ovirt.org/64372
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I2dd2d53fba0dd69cdb4f60e152cf6d254cfb863a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk(a)redhat.com>