From nobody Mon Feb 9 16:53:55 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1578675460; cv=none; d=zohomail.com; s=zohoarc; b=ZoOdyEvTjM5IvODxn64AkRV0DQGEPPbaIXpVTxKk03yCLFsd2kXpOpIq9AUetZV0TbsgMCj4ud/XhgX9SFmorD3gofoK2GaMfv0PSzBtC8sb54hU2s/6nXNMdvEfoCgbsslBUMat2Lm1CTJOE8TzeI9NA0bFnzuRqlCTJgYTHps= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1578675460; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=Sz1UD6uTi7EftRLsNBsP5W2eQD9SinUlp/hpVLXJUkE=; b=JrTqX0v356ZRxbqE2aTkMFGmeWCoOLP5fmRd0SOcBqdugl5AGeLpjlKGbeCVatXlczoI+7ivvIAD7g3SxlORPt4z0xxOB8DYvmx9XE318rQyc8sOPlJe5lyr6LXyUf74GDk+gLp0h2wDSpug1pjKVoXli70OMfJBPw30e8Xs7GQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1578675460064312.743117239859; Fri, 10 Jan 2020 08:57:40 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-150-AMmy0aedNrC-lPW9_nnhEw-1; Fri, 10 Jan 2020 11:57:36 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 61F9E1800D71; Fri, 10 Jan 2020 16:57:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 55CC210016EB; Fri, 10 Jan 2020 16:57:30 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id F1216503A9; Fri, 10 Jan 2020 16:57:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 00AGvQ3V027177 for ; Fri, 10 Jan 2020 11:57:26 -0500 Received: by smtp.corp.redhat.com (Postfix) id B38F186CA0; Fri, 10 Jan 2020 16:57:26 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C4F484665 for ; Fri, 10 Jan 2020 16:57:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578675458; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=Sz1UD6uTi7EftRLsNBsP5W2eQD9SinUlp/hpVLXJUkE=; b=dp/oCQEZghyAndie3uP2ZKphrKW/EfUeI0q6YYH2l5VtaV9oDCo2jsUNaCYwJwW9uhAgzZ cRlUMUGo4uWrCBc2gaK0yjTFl/D4kJrAhZ0YvbRxxZhUDvDFfUGRLYo4a4gRZj2K15leSf 2l03elxCBc9T+wAXxqYXydDvuGjOlkI= From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 10 Jan 2020 17:57:19 +0100 Message-Id: <36278779cd493b655c747554f8a8db76392d3406.1578675322.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 1/4] tests: qemuxml2argv: Add disk image with encrypted backing file X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: AMmy0aedNrC-lPW9_nnhEw-1 X-Mimecast-Spam-Score: 0 Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Add another disk to luks-disks-source-qcow2 case to cover a backing chain with encrypted members. Signed-off-by: Peter Krempa --- .../luks-disks-source-qcow2.args | 8 ++++++++ .../luks-disks-source-qcow2.xml | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/tests/qemuxml2argvdata/luks-disks-source-qcow2.args b/tests/qe= muxml2argvdata/luks-disks-source-qcow2.args index 2ccdb7e49f..ab1c864cf6 100644 --- a/tests/qemuxml2argvdata/luks-disks-source-qcow2.args +++ b/tests/qemuxml2argvdata/luks-disks-source-qcow2.args @@ -69,4 +69,12 @@ encrypt.key-secret=3Dvirtio-disk4-luks-secret0,format=3D= qcow2,if=3Dnone,\ id=3Ddrive-virtio-disk4' \ -device virtio-blk-pci,bus=3Dpci.0,addr=3D0x8,drive=3Ddrive-virtio-disk4,\ id=3Dvirtio-disk4 \ +-object secret,id=3Dvirtio-disk5-luks-secret0,\ +data=3D9eao5F8qtkGt+seB1HYivWIxbtwUu6MQtg1zpj/oDtUsPr1q8wBYM91uEHCn6j/1,\ +keyid=3DmasterKey0,iv=3DAAECAwQFBgcICQoLDA0ODw=3D=3D,format=3Dbase64 \ +-drive file=3D/storage/guest_disks/encryptdisk5,encrypt.format=3Dluks,\ +encrypt.key-secret=3Dvirtio-disk5-luks-secret0,format=3Dqcow2,if=3Dnone,\ +id=3Ddrive-virtio-disk5 \ +-device virtio-blk-pci,bus=3Dpci.0,addr=3D0x9,drive=3Ddrive-virtio-disk5,\ +id=3Dvirtio-disk5 \ -device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x3 diff --git a/tests/qemuxml2argvdata/luks-disks-source-qcow2.xml b/tests/qem= uxml2argvdata/luks-disks-source-qcow2.xml index 92b31fb8bd..4dacc79ff4 100644 --- a/tests/qemuxml2argvdata/luks-disks-source-qcow2.xml +++ b/tests/qemuxml2argvdata/luks-disks-source-qcow2.xml @@ -68,6 +68,24 @@ + + + + + + + + + + + + + + + + + +
--=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list