From nobody Mon Feb 9 06:26:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.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 216.205.24.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=1631793546; cv=none; d=zohomail.com; s=zohoarc; b=aT3b4CuEiNjJ1wL7yjv2qkh8kSdGMst4fupthx775D7v8WSu/DvzpSRWOakkGWfqtLP5f8DBSHW4TsbSJGKpSJMZ3ZYzMKOzF+FAFF2ndzRqvMig6sGp/eyHNus+iyiHQKO0yXjrPoEj1ZwCY6VlkTvgGV1SdMhzwTxy1yUN+Uc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1631793546; 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=KvbqhLvxnMHCParmWnrdIgMllua2qdQIxvcamwYdeRc=; b=jNQadWvvnmT1dFDpmUIlvoAmgxeFPFJmendxuA/pc4tjAA2C13FGZL3XSyB9uzn8SWbswAZIESsGZg5bX/N5nTwjfXQUBQH8NT65nxkMfpZpS92Ccg93gjEZpBes668yK2vinl1O087xuyF9o7HWj3vOLT73Knrzp1kond715Kc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.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 [216.205.24.124]) by mx.zohomail.com with SMTPS id 1631793546612165.43238779639842; Thu, 16 Sep 2021 04:59:06 -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-453-9P77V7BCOk6PnxVMXZSsGw-1; Thu, 16 Sep 2021 07:59:04 -0400 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 266421054F90; Thu, 16 Sep 2021 11:58:58 +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 035B5196E2; Thu, 16 Sep 2021 11:58:58 +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 C50854E58F; Thu, 16 Sep 2021 11:58:57 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 18GBueOJ008691 for ; Thu, 16 Sep 2021 07:56:40 -0400 Received: by smtp.corp.redhat.com (Postfix) id 000E629405; Thu, 16 Sep 2021 11:56:40 +0000 (UTC) Received: from maggie.redhat.com (unknown [10.43.2.93]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7E5EE5D9C6 for ; Thu, 16 Sep 2021 11:56:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1631793545; 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=KvbqhLvxnMHCParmWnrdIgMllua2qdQIxvcamwYdeRc=; b=Pu8qY5jmwsdJt75DlfEKfGYn0pqRXUEbRu+IZPXSy1MfkTzGIxjjpNlj+wjwWjt/X1hnPb r1MDelhoTZUqi0IPt5B48D1tw/RPQasITziuXT77BA63sLSxqPdOp0bbE3BBIxI2jnRBH2 1BBRGXtDIhwyMUlv30nyfawC+Ee4UKk= X-MC-Unique: 9P77V7BCOk6PnxVMXZSsGw-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 3/3] schemas: Allow to be zero Date: Thu, 16 Sep 2021 13:56:27 +0200 Message-Id: <273b552ede495183eda247ddb1209b92ffc74d4b.1631793304.git.mprivozn@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 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) X-ZM-MESSAGEID: 1631793547288100001 Content-Type: text/plain; charset="utf-8" The value of zero is valid (see virNodeDeviceGetSCSIHostCaps()) but our RNG does not think so. Switching the type to 'unsignedInt' does allow value of zero. Signed-off-by: Michal Privoznik --- docs/schemas/nodedev.rng | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/schemas/nodedev.rng b/docs/schemas/nodedev.rng index 4ad6708b70..e089e66858 100644 --- a/docs/schemas/nodedev.rng +++ b/docs/schemas/nodedev.rng @@ -443,7 +443,7 @@ =20 - + =20 --=20 2.32.0