From nobody Mon Feb 9 18:46:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) client-ip=170.10.129.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 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=1641284085; cv=none; d=zohomail.com; s=zohoarc; b=al2jTTmArqInE8qX7WUgaldBhahBhe5qe0vR2OW3zH7mLoCC7XYelhgcERwxha8BOSTe+j5w6a+xLw+94dwYbqzyJnoqe2dAPxVo0HIo8WSrVO6P3H5Oo4bz70WgYO6JaYwB7szfJqcVPzx26k/H/xDvtcnn53qtUYVbJ5+1vEY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641284085; 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=qKmdWjAIvdZ6jJB+EtJBK/Jpl0xn/WpES3/Zrp20QGw=; b=HaTXZwFr+ZCqi1/IDQ9ENYDP87NOnSGVC3LK/1uEp0nFLzetBg5GXzDoGx50Twk9s73lbekDDOrNoeWv4AlAyQpzbRy8mrBI4r+X4RddvFfGHniQr6vbjeW2S9wtmkkr8TCskUKGZ9Vqe8qJTj00a881RcBz0BWsTlUSaYxRbVA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.129.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mx.zohomail.com with SMTPS id 16412840856758.535344932293015; Tue, 4 Jan 2022 00:14:45 -0800 (PST) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-321-OGmoxPfaMp-YDYDhHFg1Ng-1; Tue, 04 Jan 2022 03:14:41 -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 D46901898291; Tue, 4 Jan 2022 08:14:35 +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 B465C7B9FA; Tue, 4 Jan 2022 08:14:35 +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 8026C1809CB8; Tue, 4 Jan 2022 08:14:34 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 2048EXjE027098 for ; Tue, 4 Jan 2022 03:14:33 -0500 Received: by smtp.corp.redhat.com (Postfix) id 9F63C5ED4D; Tue, 4 Jan 2022 08:14:33 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0472D607AA for ; Tue, 4 Jan 2022 08:14:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1641284084; 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=qKmdWjAIvdZ6jJB+EtJBK/Jpl0xn/WpES3/Zrp20QGw=; b=EGdnl4Kn2a72KpZt5eT4U20mZdwAosdR067qWLVel/fsHe4lHzQa6msk/TJG0I3Hx6Nr3x bUSk5TuRHcndUTVdqDqGfyXCE4hs/4ATS432cL6fQYFYvbg3W31z9X3k55r3A76R7E4ltL rmwaoUSAxzuIFnKyDQKdYmlTsC/7yos= X-MC-Unique: OGmoxPfaMp-YDYDhHFg1Ng-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 2/4] qemuxml2xmloutdata: Turn tpm-*.xml files into symlinks Date: Tue, 4 Jan 2022 09:14:28 +0100 Message-Id: <0e5a973604280a16cbf0487062e2436b185d625a.1641283978.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-loop: libvir-list@redhat.com 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 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1641284087569100001 Content-Type: text/plain; charset="utf-8" Make the tpm-*.xml files symlinks to their respective input XMLs from qemuxml2argvdata/ directory. This uncovers a bug in our formatter which formats an invalid XML if both and elements are present for . This is going to be addressed in the next commit. Signed-off-by: Michal Privoznik --- .../tpm-emulator-tpm2-enc.xml | 12 ++++- .../tpm-emulator-tpm2-pstate.xml | 12 ++++- tests/qemuxml2argvdata/tpm-emulator-tpm2.xml | 14 +++++- tests/qemuxml2argvdata/tpm-emulator.xml | 12 ++++- .../qemuxml2argvdata/tpm-passthrough-crb.xml | 12 ++++- tests/qemuxml2argvdata/tpm-passthrough.xml | 12 ++++- .../tpm-emulator-tpm2-enc.x86_64-latest.xml | 41 +---------------- ...tpm-emulator-tpm2-pstate.x86_64-latest.xml | 39 +--------------- .../tpm-emulator-tpm2.x86_64-latest.xml | 44 +------------------ .../tpm-emulator.x86_64-latest.xml | 39 +--------------- .../tpm-passthrough-crb.x86_64-latest.xml | 41 +---------------- .../tpm-passthrough.x86_64-latest.xml | 41 +---------------- 12 files changed, 68 insertions(+), 251 deletions(-) mode change 100644 =3D> 120000 tests/qemuxml2xmloutdata/tpm-emulator-tpm2-= enc.x86_64-latest.xml mode change 100644 =3D> 120000 tests/qemuxml2xmloutdata/tpm-emulator-tpm2-= pstate.x86_64-latest.xml mode change 100644 =3D> 120000 tests/qemuxml2xmloutdata/tpm-emulator-tpm2.= x86_64-latest.xml mode change 100644 =3D> 120000 tests/qemuxml2xmloutdata/tpm-emulator.x86_6= 4-latest.xml mode change 100644 =3D> 120000 tests/qemuxml2xmloutdata/tpm-passthrough-cr= b.x86_64-latest.xml mode change 100644 =3D> 120000 tests/qemuxml2xmloutdata/tpm-passthrough.x8= 6_64-latest.xml diff --git a/tests/qemuxml2argvdata/tpm-emulator-tpm2-enc.xml b/tests/qemux= ml2argvdata/tpm-emulator-tpm2-enc.xml index d889aae4f6..9c2279b28b 100644 --- a/tests/qemuxml2argvdata/tpm-emulator-tpm2-enc.xml +++ b/tests/qemuxml2argvdata/tpm-emulator-tpm2-enc.xml @@ -12,13 +12,18 @@ + + qemu64 + destroy restart destroy /usr/bin/qemu-system-x86_64 - + +
+ @@ -27,6 +32,9 @@ - +