From nobody Sun Dec 14 05:56:53 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=reject dis=none) header.from=lists.libvirt.org ARC-Seal: i=1; a=rsa-sha256; t=1751984197; cv=none; d=zohomail.com; s=zohoarc; b=ngqZUNkF6cXy/Y33w3PcQoQWNv0u5/BYV9fDDo6HjYI40Tmuo0gxjWz0lWs9gXNqFxEPfDIM6LusSOU1ch0E3+gdICj2aq29jR6mkb9/dKyGeO2M0T+BemNLA01FPaSfZOLNrAfyNeYx7/wYpY0N85b63b1QmlNGayFHpZK4lgU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1751984197; h=Content-Type:Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Reply-To:References:Subject:Subject:To:To:Message-Id:Cc; bh=Vs8gqGC4R5+CGz1EQ2N/VPEvFFuIGCl4mYF0oYY0wzk=; b=h5Mcf8iL4yhyO+UZm4Wttccf8vDFLHPVcZAjXfox8n7LftPeOfGKe8/VY8JfEEa9ykjAtUN666+7yeYYuNZxN1tTFiWV3nSeUvt9JSCs/DRXTlqgZreRq2BX2z5PqIdtl9IqSpQuHQVWMNlQ804V7cTYSEvJP2797UcEE8QroXo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=reject dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1751984197425129.93815536186787; Tue, 8 Jul 2025 07:16:37 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 70A4414A8; Tue, 8 Jul 2025 10:16:36 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id E55EF150B; Tue, 8 Jul 2025 10:15:13 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id D6B3DCEB; Tue, 8 Jul 2025 10:15:08 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id CA96DCEB for ; Tue, 8 Jul 2025 10:15:07 -0400 (EDT) Received: from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-424-w1pdc8E8PoGKo8b11yitEg-1; Tue, 08 Jul 2025 10:15:06 -0400 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 57F131944AA6 for ; Tue, 8 Jul 2025 14:15:04 +0000 (UTC) Received: from speedmetal.lan (unknown [10.44.22.32]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 8298C1800285 for ; Tue, 8 Jul 2025 14:15:03 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H5, RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1751984107; h=from:from: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; bh=RtgtCLi9oLigoPk7+86qhsql7n/eK4uvBt+Pd1d1Lig=; b=aDm8Cqd/Yjpblw5sS4bbRj94ngEZynAq3vsME1MxmmmbvOkSo4YkhdqvUP+SjLjx7n4hmt kHetfNBjeJDz5emkgUHYt9Dn1mLrDOu5I2QRTR8/4xD2sSg/1AQzf/gG9D23I9QexFiX9O 37jeuOA6p79UeQflmZpp9a4URmgpsuU= X-MC-Unique: w1pdc8E8PoGKo8b11yitEg-1 X-Mimecast-MFC-AGG-ID: w1pdc8E8PoGKo8b11yitEg_1751984104 To: devel@lists.libvirt.org Subject: [PATCH 2/3] conf: schemas: Split out common parts of 'sysinfo' schema Date: Tue, 8 Jul 2025 16:14:58 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: Ra4P7KZXfElBSCOaeNUJa6xFHFm11vSRRZ5PKclgq3U_1751984104 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 7Q4T52X7QQ6PPZTZEIFCFRJBGKBP4UWH X-Message-ID-Hash: 7Q4T52X7QQ6PPZTZEIFCFRJBGKBP4UWH X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: From: Peter Krempa via Devel Reply-To: Peter Krempa X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1751984198867116600 Content-Type: text/plain; charset="utf-8" From: Peter Krempa Extract the common bits of the domain definition schema which will be also later reused to construct schema for the host top level element. Signed-off-by: Peter Krempa --- src/conf/schemas/domaincommon.rng | 126 ++----------------------- src/conf/schemas/sysinfocommon.rng | 143 +++++++++++++++++++++++++++++ 2 files changed, 150 insertions(+), 119 deletions(-) create mode 100644 src/conf/schemas/sysinfocommon.rng diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincom= mon.rng index 183dd5db5e..2d6e15f144 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -7,6 +7,7 @@ + @@ -7125,63 +7126,11 @@ smbios - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + @@ -7189,74 +7138,13 @@ fwcfg - - - - - - - - - - - - - - - - + - - - vendor - version - date - release - - - - - - manufacturer - product - version - serial - uuid - sku - family - - - - - - manufacturer - product - version - serial - asset - location - - - - - - manufacturer - version - serial - asset - sku - - - - - - - diff --git a/src/conf/schemas/sysinfocommon.rng b/src/conf/schemas/sysinfoc= ommon.rng new file mode 100644 index 0000000000..dc3b761206 --- /dev/null +++ b/src/conf/schemas/sysinfocommon.rng @@ -0,0 +1,143 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + vendor + version + date + release + + + + + + manufacturer + product + version + serial + uuid + sku + family + + + + + + manufacturer + product + version + serial + asset + location + + + + + + manufacturer + version + serial + asset + sku + + + + + + + + --=20 2.50.0