From nobody Sun Feb 8 19:30:30 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=1658299004; cv=none; d=zohomail.com; s=zohoarc; b=LBwIoNE10+ymddMxmWojE033U2bGXY2IRvl+RRv0cNSv2da/spna6MD+h0D1qDFTQNSDZdIKLHfYlqWq+dRzFTNu+dDI9DtrYo/AB9zuwipA0jd9J5nxzQ1Z7TH3s6WpDJC5w0WR3gaJ+xyxudkYD8rsedqROAoWlWwVZsvl0wA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658299004; 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=Oi+2R1gZr49pNBg45QmOIpeX+0gm7jF1QrHf1OU6tRI=; b=L9e/uYfVzjhwNWDlFpKW9jPX+mRcEw8miElaVIxGuSEBKFSEjsXxz4tK0EN/XqoaChby8tbnCqgrzmFZ7qrpvMDlm++62caPFe55x/9SGGeltLrN5LE0qRvGwsQE3O9ea9yk7pW83eTzTVoaRHPUd1fFVCqrGRa0Srot+UTl9IA= 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 1658299004332108.38662173750686; Tue, 19 Jul 2022 23:36:44 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-53-1TB9JzMeNMekSnrRzDsQPg-1; Wed, 20 Jul 2022 02:36:38 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 884648041B5; Wed, 20 Jul 2022 06:36:35 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 71C96401473; Wed, 20 Jul 2022 06:36:35 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 42AB119451EF; Wed, 20 Jul 2022 06:36:33 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9C5F01945DA7 for ; Wed, 20 Jul 2022 06:36:31 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 612D61121315; Wed, 20 Jul 2022 06:36:31 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0D3821121314 for ; Wed, 20 Jul 2022 06:36:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1658299003; 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=Oi+2R1gZr49pNBg45QmOIpeX+0gm7jF1QrHf1OU6tRI=; b=IUV4oj5VwsxqpWwCypCjHlQjzkFC6Ite3VMymUPxL3YvbVqsm5HW8rK9ci2oMS2DpZj12l 9QBHfCVwsXFqUprKfa9+fdEndSjfDWiDFxo7tdj2L2KSvBgeHUX/mjPxIrvKEiDpFBHgPQ QGBVMFDL/EwSbDKE+0an3etpBfX93LM= X-MC-Unique: 1TB9JzMeNMekSnrRzDsQPg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/2] capabilityschemadata: Fix order of in caps-test2.xml Date: Wed, 20 Jul 2022 08:36:28 +0200 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 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: 1658299006184100005 Content-Type: text/plain; charset="utf-8"; x-default="true" The guest is formatted in virCapabilitiesFormatGuestFeatures() and the order in which individual child elements are formatted is fixed, because the function iterates over the virCapsGuestFeatureType enum (possibly) formatting each member until _LAST is met. Therefore, and can't ever be formatted first. Move these elements to proper location. Signed-off-by: Michal Privoznik --- tests/capabilityschemadata/caps-test2.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/capabilityschemadata/caps-test2.xml b/tests/capabilitysc= hemadata/caps-test2.xml index 125a322998..bf18010440 100644 --- a/tests/capabilityschemadata/caps-test2.xml +++ b/tests/capabilityschemadata/caps-test2.xml @@ -72,12 +72,12 @@ - - + + =20 @@ -114,10 +114,10 @@ - - + + =20 --=20 2.35.1