From nobody Sun Feb 8 11:59:15 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=1608153203; cv=none; d=zohomail.com; s=zohoarc; b=iV9XFWj8+5b2ip8uD1WZyX52iGrxQ+ZcD1g9q68PJDrAe+77XkF66UDPnXuUQzR+H4iJbjmcWg8Il/MrErGVNcaiKnXJZlCVuhFYRdbmiQet7U9/RzmKrOwxlKl+vGnwZxCLKhIC4K9H/3VAYzf7XsDnruFrny7FPad2uk+Juqc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1608153203; 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=fSy1w3gzRTSJxOY1VCFswCjw4PojxkVFJMF+wVxRUko=; b=YFq6CBLZ9gzLvg2DOk0ZTU4ozv63FhxCeSi9RKMjR+jE5vQ8xaHC8FEm6qaIhzccyM6Nl5xweEy3S8U1VDWAO/Pnv9hngFg4S0fBQzxMZkGd5s7LOsJT0ROYfqsZSAjSzI9W3BIoV5g86WnBUqSPFFOYY506rH11d8rjlpbCLPc= 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) 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 1608153203128268.0393444418289; Wed, 16 Dec 2020 13:13:23 -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-75-7NfDzQEUOYeJxzy6R5ZhYA-1; Wed, 16 Dec 2020 16:13:19 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 240F2802B40; Wed, 16 Dec 2020 21:13:13 +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 C202F5D722; Wed, 16 Dec 2020 21:13:12 +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 DDF314BB40; Wed, 16 Dec 2020 21:13:08 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 0BGLD7eu005917 for ; Wed, 16 Dec 2020 16:13:07 -0500 Received: by smtp.corp.redhat.com (Postfix) id B90FA17CFE; Wed, 16 Dec 2020 21:13:07 +0000 (UTC) Received: from localhost.localdomain (unknown [10.40.193.177]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3AED41971D for ; Wed, 16 Dec 2020 21:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1608153202; 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=fSy1w3gzRTSJxOY1VCFswCjw4PojxkVFJMF+wVxRUko=; b=YhsTUDe+F0PNRVBbOwnEeswF46tcp70c1AbwmJADe0pFOKdsmR+8JCgjyT7xxuN3I6XxxV zldS7NTI48ARFoYpBw1N+17tEDldFWQINAFI+lHLaeFlmfFT06d+LLFqMfW8gqL1SFB+rt 2u1ek5bIOtglkpAwSwsSxjIfIY6sdM8= X-MC-Unique: 7NfDzQEUOYeJxzy6R5ZhYA-1 From: Michal Privoznik To: libvir-list@redhat.com Subject: [PATCH 1/4] schema: Allow lxc:namepsace children to appear individually Date: Wed, 16 Dec 2020 22:12:58 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 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.79 on 10.5.11.15 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" Since its introduction in v1.2.19-rc1~8 our schema mandates that LXC domain namespace child elements appear either all three at once or not at all: This is not mandated by our parser though. Neither by code that later uses it (virLXCProcessSetupNamespaces()). Relax the schema. Signed-off-by: Michal Privoznik Reviewed-by: Laine Stump --- docs/schemas/domaincommon.rng | 66 +++++++++++++++++++---------------- 1 file changed, 36 insertions(+), 30 deletions(-) diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 795b654feb..17e25f14f2 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -6821,36 +6821,42 @@ --> - - - - - netns - name - pid - - - - - - - - name - pid - - - - - - - - name - pid - - - - - + + + + + + netns + name + pid + + + + + + + + + + name + pid + + + + + + + + + + name + pid + + + + + + =20 --=20 2.26.2