From nobody Mon Feb 9 08:29:48 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1626089585498259.6009887304036; Mon, 12 Jul 2021 04:33:05 -0700 (PDT) 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-334-23XCYnOUOSaIoKEh1qVY8w-1; Mon, 12 Jul 2021 07:33:02 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 03B7C100CA89; Mon, 12 Jul 2021 11:32:52 +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 D63481383B; Mon, 12 Jul 2021 11:32:51 +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 9EA3A1809C99; Mon, 12 Jul 2021 11:32:51 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 16CBWbcx020882 for ; Mon, 12 Jul 2021 07:32:37 -0400 Received: by smtp.corp.redhat.com (Postfix) id 6A15763536; Mon, 12 Jul 2021 11:32:37 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 658EF64695 for ; Mon, 12 Jul 2021 11:32:37 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 4990C800B36 for ; Mon, 12 Jul 2021 11:32:37 +0000 (UTC) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-295-kVV1rE4UN-OtiJKlUUplWQ-1; Mon, 12 Jul 2021 07:32:35 -0400 Received: by mail-pg1-f172.google.com with SMTP id h4so17895965pgp.5 for ; Mon, 12 Jul 2021 04:32:34 -0700 (PDT) Received: from localhost ([103.142.141.217]) by smtp.gmail.com with ESMTPSA id h20sm16207618pfn.173.2021.07.12.04.32.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 12 Jul 2021 04:32:33 -0700 (PDT) X-MC-Unique: 23XCYnOUOSaIoKEh1qVY8w-1 X-MC-Unique: kVV1rE4UN-OtiJKlUUplWQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MUPHO/JKFN2IAOVCiBIpUQ4wM7O86FYS/qQfFG566Eo=; b=Jt/mUARjwCI6RaG8zM/mAihOY/jFWoaJwuPDOgQUK7MScXcHXhLZy0YbxZ0cTEfS6H s4xYR+fWRfZABq0vK7qryvgAGa7eoPG5AhQ6rzQ3/h5OkiDjZYXlfvo7SGk3LZgA7Dsy ZQap2eSoAbdnu68d+fhVJWq82tYfefjzhUSmoYiPCVEd3JIgZcgD2t+3FB4z8BDejkur P6Lid7B3ocPRTsldArxNm0tmfISeh5QuYAFD+OwGx6HqBQ8vek/Y7L7RiltkItMh28mo OwScOwGHpK+qMWPPlByA7cFxFRhU6LsCnaeVae+Y3apQprjQD8CGWM+FP6n3E6nymfy/ FYSQ== X-Gm-Message-State: AOAM533YnBe2bwzMIbl6lJtqWNNdV3Ue7C60/xXxDXFX/dooqih0ipFk ylDBCGTDQ0mecDqjoqylF10ZygyqVZkFhAuo7p0= X-Google-Smtp-Source: ABdhPJzu79y58kQF2rut5EHBw7lrNIDBu3ot/z5TXLlCW8vTBxnAF4ZDLUw+fcCG7sfh1txx/pEuyQ== X-Received: by 2002:a63:d211:: with SMTP id a17mr52916038pgg.265.1626089553763; Mon, 12 Jul 2021 04:32:33 -0700 (PDT) From: Luke Yue To: libvir-list@redhat.com Subject: [PATCH v4 4/4] examples: test: Add a new test xml with more tainted configs for testing Date: Mon, 12 Jul 2021 19:32:17 +0800 Message-Id: <20210712113217.60492-5-lukedyue@gmail.com> In-Reply-To: <20210712113217.60492-1-lukedyue@gmail.com> References: <20210712113217.60492-1-lukedyue@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 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.14 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-ZM-MESSAGEID: 1626089587669100003 Content-Type: text/plain; charset="utf-8" Signed-off-by: Luke Yue --- examples/xml/test/testdomfc5.xml | 51 ++++++++++++++++++++++++++ examples/xml/test/testnode.xml | 1 + examples/xml/test/testnodeinline.xml | 51 ++++++++++++++++++++++++++ tests/virshtest.c | 54 +++++++++++++++++++++++----- 4 files changed, 148 insertions(+), 9 deletions(-) create mode 100644 examples/xml/test/testdomfc5.xml diff --git a/examples/xml/test/testdomfc5.xml b/examples/xml/test/testdomfc= 5.xml new file mode 100644 index 0000000000..a8afc211f6 --- /dev/null +++ b/examples/xml/test/testdomfc5.xml @@ -0,0 +1,51 @@ + + fc5 + 08721f993d1d4aec96eb97803297bb36 + + Deprecated-Test + Libvirt + + + + hvm + /usr/lib/xen/boot/hvmloader + /root/ppc.dtb + + + 2097152 + 4 + destroy + restart + restart + + + + + + + /usr/lib/xen/bin/qemu-dm + + + +