From nobody Mon Feb 9 05:44:28 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.81 as permitted sender) client-ip=207.211.31.81; 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 207.211.31.81 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=WjgxwH0QkdFNjlxfJvfFOHGsdh6+lbRNIcL0+lUDETMZkQJGPoYuYPfRL8nWpfvYWRRNZ9mB6swg5INpUkR2kQ4ziv+ynGKO+fN64ui1UM3gihq0fgy7esJ9MnYlGniFK1tgcLy73MRNPbRSgIJuqaGJPGbVNxVfRcqQgcixQio= 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=JPNzyzxRYIAkF7/R3wSd5ynWkfVLNQHwAd9ZzOSKZw4=; b=WCH7zRMIpKD8AfyABViwrQpKHG7he6chDeaRl9bhpos9UdnnQPOjVNunxBM5C4cGWLci63KTxzJavt8qxH2SVuZC1z6NyQDotxCHa0Nb2QABN6pCq7y+9WAU0EYYmKnBXZFOT77V0jZ6WUiho7fda0Rz0bRcJOWPIrDN11NYXLM= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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 [207.211.31.81]) by mx.zohomail.com with SMTPS id 1578675460600400.3335929286052; 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-201-UWgNrCjAP8q4xbBeHda8FQ-1; Fri, 10 Jan 2020 11:57:36 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 81EF7800D41; Fri, 10 Jan 2020 16:57:31 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4ABC560C84; Fri, 10 Jan 2020 16:57:31 +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 4354718089CD; Fri, 10 Jan 2020 16:57:30 +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 00AGvSVU027197 for ; Fri, 10 Jan 2020 11:57:28 -0500 Received: by smtp.corp.redhat.com (Postfix) id 5286A84665; Fri, 10 Jan 2020 16:57:28 +0000 (UTC) Received: from angien.redhat.com (unknown [10.43.2.48]) by smtp.corp.redhat.com (Postfix) with ESMTP id CFAE886CA7 for ; Fri, 10 Jan 2020 16:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1578675459; 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=JPNzyzxRYIAkF7/R3wSd5ynWkfVLNQHwAd9ZzOSKZw4=; b=Pr47Cj4caKRzge25EHEgWHckQ5EMU3qWuVp5LJR9t6fYd2ep6NmiSl3rGb3/AuBXCzlXib KD0g7hwruo4MuP/sV6x6VHQp9nv11jU8xLF8zhd9rvmrO/aGgNAtfEc/s1wpjFc3eP4Ew5 MV1dBaFF+qf8CZqWs81BMONJuuKNTAw= From: Peter Krempa To: libvir-list@redhat.com Date: Fri, 10 Jan 2020 17:57:21 +0100 Message-Id: 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 3/4] tests: qemuxml2xml: Enable luks-disks-source-qcow2 case 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.79 on 10.5.11.12 X-MC-Unique: UWgNrCjAP8q4xbBeHda8FQ-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" The test data was used only in xml->argv testing but it will have some interresting fallout soon. Signed-off-by: Peter Krempa --- .../luks-disks-source-qcow2.x86_64-latest.xml | 102 ++++++++++++++++++ tests/qemuxml2xmltest.c | 1 + 2 files changed, 103 insertions(+) create mode 100644 tests/qemuxml2xmloutdata/luks-disks-source-qcow2.x86_64= -latest.xml diff --git a/tests/qemuxml2xmloutdata/luks-disks-source-qcow2.x86_64-latest= .xml b/tests/qemuxml2xmloutdata/luks-disks-source-qcow2.x86_64-latest.xml new file mode 100644 index 0000000000..33e6d02976 --- /dev/null +++ b/tests/qemuxml2xmloutdata/luks-disks-source-qcow2.x86_64-latest.xml @@ -0,0 +1,102 @@ + + encryptdisk + 496898a6-e6ff-f7c8-5dc2-3cf410945ee9 + 1048576 + 524288 + 1 + + hvm + + + + qemu64 + + + destroy + restart + destroy + + /usr/bin/qemu-system-x86_64 + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + + +
+ + + + + + + + + +
+ + + + + + + + + + + + +
+ + + + + + + + + + + + + + +
+ + +
+ + + + + +
+ + + diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c index 262fc835f5..33580f1a85 100644 --- a/tests/qemuxml2xmltest.c +++ b/tests/qemuxml2xmltest.c @@ -524,6 +524,7 @@ mymain(void) DO_TEST("encrypted-disk-usage", QEMU_CAPS_QCOW2_LUKS); DO_TEST("luks-disks", NONE); DO_TEST("luks-disks-source", NONE); + DO_TEST_CAPS_LATEST("luks-disks-source-qcow2"); DO_TEST("memtune", NONE); DO_TEST("memtune-unlimited", NONE); DO_TEST("blkiotune", NONE); --=20 2.24.1 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list