From nobody Sun Feb 8 12:37:30 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; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1601636166; cv=none; d=zohomail.com; s=zohoarc; b=H1KOORjtq/DigxrbOxZw2eabccm4huz68ovDQhtIppqf5ImS4xXhQlhTZ3GCf4ojkrVrIhlO4ZOTAwM0Ra7yTQxiUx+SLTW7ozyIhLMZisI+0/G898/h+1QHe5ANLHiZ7iOSn8tMjg4ix9ETgN93iAOY7YUFeToPj/ghWJUCGws= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1601636166; h=Content-Type:Content-Transfer-Encoding:Cc: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=5on3mUF36H7U80niIHAGFha34mRvFjFSPBbjG1m5XaA=; b=Mb0JCryjEsV0g3EepiNnUmGvX7oUItMzF6zXjj9lbA4RaQvXb+pQrgMan1wJ//GL799EMKbRG3XnzZtNN/Mfaes5s/nKADm47FXKnY0SE2ZLqL7vrNO+S/JBJp0YJ2qmHI4HhYZIl9QnjO5yl+153BE7Axnthivzg2kgGFxrR4A= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail header.from= (p=none dis=none) header.from= 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 1601636166728792.7663871663065; Fri, 2 Oct 2020 03:56: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-108-0Jke3fKiOzWhmIKyxAqb8w-1; Fri, 02 Oct 2020 06:55:59 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 8496C8030A2; Fri, 2 Oct 2020 10:55:49 +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 3706710023A7; Fri, 2 Oct 2020 10:55:49 +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 0644844A5E; Fri, 2 Oct 2020 10:55:49 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 092AtfLn030992 for ; Fri, 2 Oct 2020 06:55:41 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8B9BE2156A3D; Fri, 2 Oct 2020 10:55:41 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast06.extmail.prod.ext.rdu2.redhat.com [10.11.55.22]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 8799C2157F5E for ; Fri, 2 Oct 2020 10:55:39 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2A9B618AE948 for ; Fri, 2 Oct 2020 10:55:39 +0000 (UTC) Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-1-uWhfUyIiMue9A9kGdUYOhQ-1; Fri, 02 Oct 2020 06:55:37 -0400 Received: by mail-wm1-f67.google.com with SMTP id w2so1204843wmi.1 for ; Fri, 02 Oct 2020 03:55:36 -0700 (PDT) Received: from localhost.localdomain (cpc75556-harg6-2-0-cust35.7-1.cable.virginm.net. [86.3.36.36]) by smtp.gmail.com with ESMTPSA id c14sm1363083wrm.64.2020.10.02.03.55.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Oct 2020 03:55:35 -0700 (PDT) X-MC-Unique: 0Jke3fKiOzWhmIKyxAqb8w-1 X-MC-Unique: uWhfUyIiMue9A9kGdUYOhQ-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=5on3mUF36H7U80niIHAGFha34mRvFjFSPBbjG1m5XaA=; b=VoTkDULK8zxyOse6ZYph9bSSLTsnWrQ4ECNzurygZZm/t3Bx5ycUqLpbqWkEuuOC2g +Zw+1M2wFMzkmMPhc6xnP5wWEOFm9UaQssOHn5usjKp+Xk41Zmj0r0KeW+NFbqR3dBDp UxdMAtSqbREhU7z9vD3vqsOoOuNqNugX1x/0qYpfhopfI/0EbXMSdpCn51UDrHldtfX2 1wK1zLE1XcxJI7SFh+SIqdZnKNkmP6ZIbbwALWXg+0kdrnoBONzYDjfoQ4K6z5ya1RPH ch0HyLwGNF4x0b1rftjASrr6AZpmcXK2udtxi3W6W6CS0K3J/q3SXAdoma2wrcA2plfF 4AIg== X-Gm-Message-State: AOAM530E2dbjw+C98HH60rIU7B3IqkRdx22kko6L9yljzNjD5IZRgnDY gJl4eGjJCLHddxftd/nzOx5fy+gIxWHl6w== X-Google-Smtp-Source: ABdhPJxYyCuQ6tEIYyggjYhp0OTda1R+MsX/ppoNWv/FcJQ5QYEMUeLMDCk9PILtklq4RAV6sjSByg== X-Received: by 2002:a1c:f311:: with SMTP id q17mr2379855wmq.168.1601636135744; Fri, 02 Oct 2020 03:55:35 -0700 (PDT) From: Brian Turek To: libvir-list@redhat.com Subject: [PATCH 3/4] qemu: add schema 'fmode' and 'dmode' options Date: Fri, 2 Oct 2020 11:55:03 +0100 Message-Id: <20201002105504.82121-4-brian.turek@gmail.com> In-Reply-To: <20201002105504.82121-1-brian.turek@gmail.com> References: <20201002105504.82121-1-brian.turek@gmail.com> MIME-Version: 1.0 X-Mimecast-Impersonation-Protect: Policy=CLT - Impersonation Protection Definition; Similar Internal Domain=false; Similar Monitored External Domain=false; Custom External Domain=false; Mimecast External Domain=false; Newly Observed Domain=false; Internal User Name=false; Custom Display Name List=false; Reply-to Address Mismatch=false; Targeted Threat Dictionary=false; Mimecast Threat Dictionary=false; Custom Threat Dictionary=false X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6 X-loop: libvir-list@redhat.com Cc: Brian Turek 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.22 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 Content-Type: text/plain; charset="utf-8" Adds schema to validate the 'fmode' and 'dmode' attributes on a 'fileystem' node. Checks to ensure that the values are 1-3 octal digits long. Signed-off-by: Brian Turek --- docs/schemas/domaincommon.rng | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 4b7e460148..78b9f0c750 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -26,6 +26,12 @@ =20 + + + [0-7]{1,3} + + + @@ -2736,6 +2742,16 @@ + + + + + + + + + + --=20 2.25.1