From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:46622) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gvgQb-0000e8-Cq for qemu-devel@nongnu.org; Mon, 18 Feb 2019 05:45:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gvgQa-0006IT-NM for qemu-devel@nongnu.org; Mon, 18 Feb 2019 05:45:37 -0500 From: Stefan Hajnoczi Date: Mon, 18 Feb 2019 10:45:23 +0000 Message-Id: <20190218104525.23674-1-stefanha@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PATCH v3 0/2] qcow2: include LUKS payload overhead in qemu-img measure List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-block@nongnu.org, Daniel Berrange , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Kevin Wolf , Max Reitz , Stefan Hajnoczi v3: * Use encrypt.iter-time=3D10 to speed up qemu-iotests 178 [Max] v2: * Take into account all "encrypt." image creation options since the LUKS payload size varies depending on the cipher [Max] The LUKS payload has a significant size (>1 MB). It must be included in = the qemu-img measure calculation so we arrive at the correct minimum image si= ze. Stefan Hajnoczi (2): qcow2: include LUKS payload overhead in qemu-img measure iotests: add LUKS payload overhead to 178 qemu-img measure test block/qcow2.c | 72 +++++++++++++++++++++++++++++++- tests/qemu-iotests/178 | 8 ++++ tests/qemu-iotests/178.out.qcow2 | 24 +++++++++++ 3 files changed, 103 insertions(+), 1 deletion(-) --=20 2.20.1