From nobody Mon Feb 9 06:26: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=1658299001; cv=none; d=zohomail.com; s=zohoarc; b=YCy94nI8BLLFV5nXLYYvbl3Vi7GNdSKw8Rkpuc0cpEdunSUxV07u4DrUknvnI0R0L3Z9BMijnKGbeeybCRt2OZjX6zbQK4zV8Va+/5n+pHdq5TKblCQXCblGa97CRWm2wWVIkgez0wsLwi6ew9bhcPmQKXy43Gh9GoyURx7jMpQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1658299001; 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=IocuB4/Hy8OR0K4ogHm94REj7uG240x8Zm9usCQ6DTM=; b=YGiCnBdLAIaBmTUVSKnBMizuSYwZSeedhMpXlL49itCZTi6VRsokTMs/WBNi2Pj9gg9eUlWh03VNLgQNtVvuYWJm2sRCgTzwqmQxDgZ1Dmp3DTXFsxnm8AgFhy0BuOHl7WK0MQXSmQ8OQB6oLGUGea3JMSmDbbAGb4bmc1R445E= 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 1658299001809525.5486715841854; Tue, 19 Jul 2022 23:36:41 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-73-FTjpIYWbPjumoVwhKFQykQ-1; Wed, 20 Jul 2022 02:36:38 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1CAE238041F3; Wed, 20 Jul 2022 06:36:36 +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 F3343112131B; 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 DB1EC1947061; Wed, 20 Jul 2022 06:36:34 +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 357131947042 for ; Wed, 20 Jul 2022 06:36:32 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 138361121315; Wed, 20 Jul 2022 06:36:32 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.88]) by smtp.corp.redhat.com (Postfix) with ESMTP id 9841C1121314 for ; Wed, 20 Jul 2022 06:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1658299000; 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=IocuB4/Hy8OR0K4ogHm94REj7uG240x8Zm9usCQ6DTM=; b=XDkonjbUXLaYLJJ7i3NHuztom6zC6e4qgpWp5iQH1iNjvoXa02nWSnvv6lrWpIUAB8S57+ /LjoCh0/U6+9jmbhZB+jaxesqnkqT3UWITMq7V8PC7S0L/K1WlCJzd0Thc2511DzDB2foC 8tCsCK7vpiFzIbblfTlWNY3aNNc5E0M= X-MC-Unique: FTjpIYWbPjumoVwhKFQykQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 2/2] schemas: Drop from capabilities schemas Date: Wed, 20 Jul 2022 08:36:29 +0200 Message-Id: <9a597c62f6baf4f423a8907fb16cfade416d5852.1658298964.git.mprivozn@redhat.com> 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.78 on 10.11.54.3 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: 1658299002169100001 Content-Type: text/plain; charset="utf-8"; x-default="true" Currently, we have two types of output only XMLs: capabilities and domaincapabilities. Neither of these is ever parsed. Moreover, the order of elements inside these two documents is well defined by their respective format functions. Therefore, there's no need to have anywhere in their corresponding schemas. Signed-off-by: Michal Privoznik --- src/conf/schemas/capability.rng | 160 +++++++++++++++----------------- src/conf/schemas/domaincaps.rng | 80 ++++++++-------- 2 files changed, 115 insertions(+), 125 deletions(-) diff --git a/src/conf/schemas/capability.rng b/src/conf/schemas/capability.= rng index c7e72c6f39..7a24b2a076 100644 --- a/src/conf/schemas/capability.rng +++ b/src/conf/schemas/capability.rng @@ -53,44 +53,40 @@ =20 - - - - - - - - - - - - + + + + + + + + + - - - + + + + =20 - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + =20 @@ -442,57 +438,55 @@ =20 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + =20 diff --git a/src/conf/schemas/domaincaps.rng b/src/conf/schemas/domaincaps.= rng index 9cbc2467ab..331fdbb1e9 100644 --- a/src/conf/schemas/domaincaps.rng +++ b/src/conf/schemas/domaincaps.rng @@ -10,43 +10,41 @@ =20 - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + =20 @@ -78,13 +76,11 @@ =20 - - - - - - - + + + + + =20 --=20 2.35.1