From nobody Fri May 10 11:27:41 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) client-ip=63.128.21.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 63.128.21.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=1609930451; cv=none; d=zohomail.com; s=zohoarc; b=WGmgdXwsNcNEY+fUUSXNdVdJ8s4ct3WiC8GTWcaPHjkywsgZDCRTrkG3Jeym5L9Amt4TiMzeqmkSbpywsudyGif/WJuo6LygmS85ogCIQQGShnKEWGWgGNuvEZXsbzawqyB8gZkU6jXvbLMlrkX1dZkEAFiF3KkIVYcQP7EGggQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1609930451; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=rMyOIC6t+jAITlOi2KXyI4da0+uVw5jDZgIYhbdYlxg=; b=O8QpMzhazz2Nv4/zaDiuRrjze3NZrcMMfamjS5XKuJ5vC6HPsjQ2AeJgcQ8fG2ObMHFgcfWnxQGGyUs5HxHPY/MV3xOybS6Bd3qDAl+fJRRJHYNSYREYAIRkjhR0rTz8iAgVYve9WEjsxvYJTLdG6CM8sUAxv2LikeDyqmuLI5s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 63.128.21.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mx.zohomail.com with SMTPS id 1609930451442579.7601446216969; Wed, 6 Jan 2021 02:54:11 -0800 (PST) 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-328-IXLvYiCFOga6FY4wW4ytKQ-1; Wed, 06 Jan 2021 05:54:08 -0500 Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 807F98797E9; Wed, 6 Jan 2021 10:54:02 +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 D4B081A7D9; Wed, 6 Jan 2021 10:54:00 +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 79E904BB7B; Wed, 6 Jan 2021 10:53:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 106Artj4006354 for ; Wed, 6 Jan 2021 05:53:55 -0500 Received: by smtp.corp.redhat.com (Postfix) id 1AFA97046E; Wed, 6 Jan 2021 10:53:55 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.194.110]) by smtp.corp.redhat.com (Postfix) with ESMTP id 8D1935B4A9 for ; Wed, 6 Jan 2021 10:53:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609930450; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=rMyOIC6t+jAITlOi2KXyI4da0+uVw5jDZgIYhbdYlxg=; b=jIw16W3odK9K0I/cqtuBS0X7iEVLVJM7cXpyvIV3D3cUKGhXd1i477kmLso8K9ZY632AuU y3cRS+uptipmFaqVYTFiM1Zmb/O5p6JBIzJXTJmNDy0PgWCt3VTnPm097/kw9T6yOukDs+ DNC+C4DcEnl+ZmGmRcQ28tl9/zz5fKY= X-MC-Unique: IXLvYiCFOga6FY4wW4ytKQ-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH] schema: Fix TPM version rules Date: Wed, 6 Jan 2021 11:53:49 +0100 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 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.84 on 10.5.11.23 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) Content-Type: text/plain; charset="utf-8" According to our parser (virDomainTPMDefParseXML()) the version is an optional attribute and independent of TPM backend type. Therefore, it's not a choice group, which is what our RNG schema suggests. Signed-off-by: Michal Privoznik Reviewed-by: Daniel Henrique Barboza --- docs/schemas/domaincommon.rng | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 712fb60562..86816e9b1d 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -4776,18 +4776,14 @@ - - - - - - 1.2 - 2.0 - - - - - + + + + 1.2 + 2.0 + + + =20 --=20 2.26.2