From nobody Sat May 4 08:42:13 2024 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=1641284107; cv=none; d=zohomail.com; s=zohoarc; b=gTeWjEu4fNOQ/Pz1Mjdq1BENg4O3TxVUB5e1Fc5HZI77hoQ3gq5R2VwYyEJw0TYoX5se/xmmPSao+F9LlyZjvUL0Qfeg9L/ZVRJ+8vM/UIT+shCxvX6knt1/7tbR4YLuu99AJ2fLdVE+hsh38SD4bPah+R5Xt8nZ+B+UnA+TSgU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641284107; 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=GmC9kjQZQCcTNPBMNn2j69q0w0yppdW1GbgLqSpsGu0=; b=D8SLClVmWG9Bvf8wVNAbhFWbI0CfNSAaLV5Ukl4VNwGAx+Z7sHr8SE6P+755bw9AzN7PxxEOHrpKzjQlKKj28Mml5HtXTfzdbLkLy4gMeY/mJ/l7aQb67MyHo0E2HRXKFxg/OXBvH+otHYgo+wE5Ddf6+RWjyjls4E8UFh848gM= 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 1641284107693252.8581381167627; Tue, 4 Jan 2022 00:15:07 -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-408-4CHRgqnsN2SlZW3-9edzww-1; Tue, 04 Jan 2022 03:14:38 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1874C1018721; Tue, 4 Jan 2022 08:14:34 +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 91FE77D93E; Tue, 4 Jan 2022 08:14:33 +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 2E3774BB7C; Tue, 4 Jan 2022 08:14:33 +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 2048EWAk027085 for ; Tue, 4 Jan 2022 03:14:32 -0500 Received: by smtp.corp.redhat.com (Postfix) id ABC175F936; Tue, 4 Jan 2022 08:14:32 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.64]) by smtp.corp.redhat.com (Postfix) with ESMTP id 36A905ED4D 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=1641284106; 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=GmC9kjQZQCcTNPBMNn2j69q0w0yppdW1GbgLqSpsGu0=; b=HLw1j8IZvf3i7+Y+womfHm69ny2FVckNmz0auV2TDTYkv7OnTu+4iVVjiDmgbRflRHZB2H c83VHwktIT6/IUTaK8jKvMBLil3EfNxfb3hCoHxhgN7N04MktVvtTrddjnJTcOr7z/Ep5D O/czabG9AcH7z6BRu2tbvCf5yj588+4= X-MC-Unique: 4CHRgqnsN2SlZW3-9edzww-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/4] qemuxml2xmltest: Introduce tpm-emulator-spapr test Date: Tue, 4 Jan 2022 09:14:27 +0100 Message-Id: <9c341ab5db1d2c6c2b36dfdb3c5df21208ccb4b3.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.13 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: 1641284108651100001 Content-Type: text/plain; charset="utf-8" We already have the input xml because of xml2arg test. However, the corresponding xml2xml test case is missing. Make the expected XML a symlink to the input XML and clean the latter up a bit. Signed-off-by: Michal Privoznik --- tests/qemuxml2argvdata/tpm-emulator-spapr.xml | 74 +++++++++++-------- .../tpm-emulator-spapr.ppc64-latest.xml | 1 + tests/qemuxml2xmltest.c | 1 + 3 files changed, 44 insertions(+), 32 deletions(-) create mode 120000 tests/qemuxml2xmloutdata/tpm-emulator-spapr.ppc64-lates= t.xml diff --git a/tests/qemuxml2argvdata/tpm-emulator-spapr.xml b/tests/qemuxml2= argvdata/tpm-emulator-spapr.xml index f9cda19727..1b4b825e2c 100644 --- a/tests/qemuxml2argvdata/tpm-emulator-spapr.xml +++ b/tests/qemuxml2argvdata/tpm-emulator-spapr.xml @@ -12,49 +12,59 @@ + + POWER9 + destroy restart destroy /usr/bin/qemu-system-ppc64 + + + + +
+ + +
+ + +
+ + +
+ + + + + + + + + +
+ + + + + +
+ -
+ +
- - - -
- - -
- - - - - - - -
- - - - -
- - -
- - - -
- - - +
- +