From nobody Sun Feb 8 12:37:46 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; spf=none (zohomail.com: 8.43.85.245 is neither permitted nor denied by domain of lists.libvirt.org) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1709586722893311.0031257309123; Mon, 4 Mar 2024 13:12:02 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 996) id A2627187F; Mon, 4 Mar 2024 16:12:01 -0500 (EST) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 8E4141BC1; Mon, 4 Mar 2024 16:07:18 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 996) id A84EC19CB; Mon, 4 Mar 2024 15:22:45 -0500 (EST) Received: from mail-pf1-f170.google.com (mail-pf1-f170.google.com [209.85.210.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 9ABDA19C5 for ; Mon, 4 Mar 2024 15:22:43 -0500 (EST) Received: by mail-pf1-f170.google.com with SMTP id d2e1a72fcca58-6e635b772eeso454073b3a.2 for ; Mon, 04 Mar 2024 12:22:43 -0800 (PST) Received: from iuseotherswifi.notpua ([218.185.248.66]) by smtp.gmail.com with ESMTPSA id j8-20020a62e908000000b006e48e64ef54sm3172585pfh.173.2024.03.04.12.22.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 12:22:41 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709583762; x=1710188562; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qtBUAWWYISwBPozjIKio4dmNmwuMus0mRJFpQh+9A8Y=; b=IcM8bgy6/Lj8z0BZmd4ab7ccRGuf94P94eJfBQMr2Iyl8OqshS+/CbbMq2PHqBo9Kp PyXe+QcWFX+EHMuCM2nxObsrGctA/KwZvHmv7F3B0i87MbzWHdRSRGexhwYWa783BioX YTkbHXq5CjkcrDO1HvT/Pu172UWSozE3u0ifqitJ2Jg5x/9IX0fCZ5OnQhrxH75Od3xW An6ZAuPDBPXyTtBpi2Zocdsoc5UTEx4i4vij8xa6PsV1qKyPXicIR6+T6KHXdM/5g3Yd goqdg6AdYnRe5tiwe7V8NvrdN3bj6X02fuUBt45JtQvAlgwQbZp/j2BFv9xzcHerOEsn nWrQ== X-Gm-Message-State: AOJu0Yw4VjAlNFU6gwhfG8a8E0lNI1f4DIO/Hlcxlbokuo1xNGOrHkTf 88Am2hInJWaGGcfoIMx3Tmchw4hpXZgtpnjX7ry4JmzN+DBATar865pO7IV6Hy1+kg== X-Google-Smtp-Source: AGHT+IEYCufPCXjKyRZncANwCAHvhhhN7s8C11byQISQcgSpDgKCUQXBqCj5cG/41E/50OMZbDxj3A== X-Received: by 2002:a05:6a20:c109:b0:19e:487e:3994 with SMTP id bh9-20020a056a20c10900b0019e487e3994mr6666530pzb.57.1709583762087; Mon, 04 Mar 2024 12:22:42 -0800 (PST) From: Abhiram Tilak To: devel@lists.libvirt.org Subject: [PATCH 1/2] storage: change assigning qcow2 compat to 1.1 from 0.10 automatically Date: Tue, 5 Mar 2024 01:50:32 +0530 Message-ID: <20240304202031.22738-4-atp.exp@gmail.com> X-Mailer: git-send-email 2.42.1 In-Reply-To: <20240304202031.22738-2-atp.exp@gmail.com> References: <20240304202031.22738-2-atp.exp@gmail.com> MIME-Version: 1.0 X-MailFrom: atp.exp@gmail.com X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0 Message-ID-Hash: 22NHIOEQLJT57HL6NQZKIXTVISOVXEEO X-Message-ID-Hash: 22NHIOEQLJT57HL6NQZKIXTVISOVXEEO X-Mailman-Approved-At: Mon, 04 Mar 2024 21:07:03 -0500 CC: jtomko@redhat.com, mprivozn@redhat.com, Abhiram Tilak X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZM-MESSAGEID: 1709586724496100001 In the file `storage/storage_util.c` currently `compat` varible is begin assigned to 0.10 by default. This patch changes this default value to 1.1. This is done in efforts to upgrade the default qcow2 image version to 1.1. Resolves: https://gitlab.com/libvirt/libvirt/-/issues/602 Signed-off-by: Abhiram Tilak Reviewed-by: Peter Krempa --- src/storage/storage_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/storage_util.c b/src/storage/storage_util.c index 7bf815d978..28d5fce4f0 100644 --- a/src/storage/storage_util.c +++ b/src/storage/storage_util.c @@ -765,7 +765,7 @@ storageBackendCreateQemuImgOpts(virStorageEncryptionInf= oDef *encinfo, if (info->compat) virBufferAsprintf(&buf, "compat=3D%s,", info->compat); else if (info->format =3D=3D VIR_STORAGE_FILE_QCOW2) - virBufferAddLit(&buf, "compat=3D0.10,"); + virBufferAddLit(&buf, "compat=3D1.1,"); =20 if (info->clusterSize > 0) virBufferAsprintf(&buf, "cluster_size=3D%llu,", info->clusterSize); --=20 2.42.1 _______________________________________________ Devel mailing list -- devel@lists.libvirt.org To unsubscribe send an email to devel-leave@lists.libvirt.org