From nobody Tue Feb 10 04:29:35 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.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 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=fail(p=none dis=none) header.from=nutanix.com Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 16494402134081017.39915701368; Fri, 8 Apr 2022 10:50:13 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-653-lU4TSuwSNpmb7cPa_o8j1A-1; Fri, 08 Apr 2022 13:49:33 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.rdu2.redhat.com [10.11.54.10]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 34B02833966; Fri, 8 Apr 2022 17:49:27 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 15C44403171; Fri, 8 Apr 2022 17:49:27 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id DD6071940344; Fri, 8 Apr 2022 17:49:26 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.rdu2.redhat.com [10.11.54.6]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 79C251940349 for ; Fri, 8 Apr 2022 17:49:25 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 6C5EA2167D63; Fri, 8 Apr 2022 17:49:25 +0000 (UTC) Received: from mimecast-mx02.redhat.com (mimecast01.extmail.prod.ext.rdu2.redhat.com [10.11.55.17]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 63FD12166BDD for ; Fri, 8 Apr 2022 17:49:20 +0000 (UTC) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 29A5A85A5A8 for ; Fri, 8 Apr 2022 17:49:20 +0000 (UTC) Received: from mx0b-002c1b01.pphosted.com (mx0b-002c1b01.pphosted.com [148.163.155.12]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-424-knhZuzrFNfaFqVMFWFgYig-1; Fri, 08 Apr 2022 13:49:18 -0400 Received: from pps.filterd (m0127841.ppops.net [127.0.0.1]) by mx0b-002c1b01.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 238E5g60014798 for ; Fri, 8 Apr 2022 10:49:17 -0700 Received: from nam11-bn8-obe.outbound.protection.outlook.com (mail-bn8nam11lp2169.outbound.protection.outlook.com [104.47.58.169]) by mx0b-002c1b01.pphosted.com (PPS) with ESMTPS id 3f6m19694p-2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 08 Apr 2022 10:49:17 -0700 Received: from SJ0PR02MB8564.namprd02.prod.outlook.com (2603:10b6:a03:3f6::16) by BY5PR02MB6533.namprd02.prod.outlook.com (2603:10b6:a03:1d5::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.26; Fri, 8 Apr 2022 17:49:14 +0000 Received: from SJ0PR02MB8564.namprd02.prod.outlook.com ([fe80::b167:3939:c2e0:64e8]) by SJ0PR02MB8564.namprd02.prod.outlook.com ([fe80::b167:3939:c2e0:64e8%6]) with mapi id 15.20.5144.023; Fri, 8 Apr 2022 17:49:14 +0000 X-MC-Unique: lU4TSuwSNpmb7cPa_o8j1A-1 X-Original-To: libvir-list@listman.corp.redhat.com X-MC-Unique: knhZuzrFNfaFqVMFWFgYig-1 From: Rohit Kumar To: libvir-list@redhat.com Subject: [PATCH v2 4/8] Cleanup diskSourceNetwork and diskSourceFile schema Date: Fri, 8 Apr 2022 10:48:47 -0700 Message-Id: <20220408174851.1077477-5-rohit.kumar3@nutanix.com> In-Reply-To: <20220408174851.1077477-1-rohit.kumar3@nutanix.com> References: <20220408174851.1077477-1-rohit.kumar3@nutanix.com> X-ClientProxiedBy: SJ0PR03CA0363.namprd03.prod.outlook.com (2603:10b6:a03:3a1::8) To SJ0PR02MB8564.namprd02.prod.outlook.com (2603:10b6:a03:3f6::16) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1680b688-b378-4485-b6fb-08da19881830 X-MS-TrafficTypeDiagnostic: BY5PR02MB6533:EE_ X-Microsoft-Antispam-PRVS: x-proofpoint-crosstenant: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0 X-Microsoft-Antispam-Message-Info: 2hMfxuxZrOX/V3YHjcQ+pGkWUBjSKUdy2d0yGjdmSL1K/v4gByiANlD2NkeN5tJHbYLIA2cFUmBahH5yQfdTW+9IvrDT2qGOJx5FTSQoP8V6B/N7oGmjr17x5h7adPTDEdSxekPkQ6xalm6+6r+mu9N+RbSJVdmAP9abSzkKsFS5+cq+7Usf3klLkKMny55uDsoJpRju0Gpf6LMhty9enjpbyULqNbGCvL2jUF9NAMeiezfT3hjUY+C3vfn6qZSvNbEhoo8IhhHlHF12EgVDGD2m4IJcx1iG/wiN4XnE5Zy24n/xTcKoOcfDPczGOPiMqhtgRPFXhfcANwFr9DPxzJSH9sx0FvDJIpTPb+lNZU40B7TxtfNSP21B77gtbAzvrTfKVQl8sv/zoFlikBXNdyUaZplYqRmYSDrk5NktAIKdst9xJ5xFyGaubTd/TqXsUkU1176HXOQqAxUOxaC7yrPFjNQ6bZRCfkKIw/YnmxL0w9knM6YDdBPQKOdG+cx3DjyIQ/7hVzXDqifuno+ZSR4PX9LuSlejwldhqciuL2LBffeZkIMrivGi+9dhHexKs8MLe3xJ7TTpHmtuu7wrYuRnpVl5PYbrj/QU+rxjMOEfhJP1kiCNaDVoGmxu25B8DgwtjDhEddmwGyajd8gTE7YVNgX9MusWaQQpJfcFSxMR51z11x5pkf3eeyip/j+O5gB3SVr+oAWG0ut3gzxxaw== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR02MB8564.namprd02.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(6666004)(38350700002)(38100700002)(6486002)(83380400001)(8936002)(508600001)(2906002)(86362001)(5660300002)(66476007)(36756003)(66556008)(2616005)(107886003)(8676002)(4326008)(66946007)(6512007)(6916009)(54906003)(26005)(186003)(52116002)(6506007)(1076003)(316002); DIR:OUT; SFP:1102 X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?aqZDbh9rS/ZLI+qBoSw5ke76hc5VbMQsIJwl3eULu82MigB8HyLSNFYrnBaR?= =?us-ascii?Q?IVCKasvaAUb+jyow296PjHEyOwkkTSv0pqc6TWWhqkGP1bOKWpoWbegZNZCF?= =?us-ascii?Q?/8+jPenbFvBwiB+4UFX3wrKUHd2kRbnIF+2xZHARmFtYuEEgdBR9p6Ygf9Bl?= =?us-ascii?Q?I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0vH2tV3sTReE8r5URfoJo84h00?= =?us-ascii?Q?bHdWRn3X7UQ6joDOWj7T8zHEYwyENmA4J6q0oeKbA/kZwbnpV6lI1mvW7ZJo?= =?us-ascii?Q?NLBlqskFvrgeSt9UoSu6JD9ek4CI5Go3Ub+gKDpH5sYburMBjWm9MyGhzKPE?= =?us-ascii?Q?EtDMRaa2NGq9uKpDtNxqWumph52/LNDOcUhzrVhtEw/mwklRi/795AQFFWou?= =?us-ascii?Q?FRsxyuuxT+rQArcRsqayA4eoi72Xw2V2CqevND8QgHddGNVxGLxuPhQmF13i?= =?us-ascii?Q?oMGNFIjzegqPe71Ipl8HT7LTUV8Z/iF/b/RMqRfNWqtKRxvbUjI+cy6hZUaV?= =?us-ascii?Q?4RGQ2mqrXu1lxW1ct2rPnsYqSwl+13pRo5/TEi4+DJHBAN4/dDk40jOWBk+L?= =?us-ascii?Q?wOmfg88aWu+gosa0xB+9ooVMP9S/jgWRhk+N+iBB8w3R4mTwGEuy0mcoNVKL?= =?us-ascii?Q?EM+R9XyNMHJCapM7HGzcCRCjgf7Imam5+VBzFQkJcpTCzK6Zm+W5PKCvZ+qO?= =?us-ascii?Q?tO79ZYVrVpgQU7N8WT4ECJsH2DxTB2LcWkH9oBOGdpuoPK12XCzM4RhP/DqY?= =?us-ascii?Q?UWRzxY1EnuJEbl4GxZKC+MQMkqMpY+IbvMgdWHzvSM4yuASuWA1j53+50pU2?= =?us-ascii?Q?tW/z0qYyBj+PaxPvIcy4TJJv8Q9RzXR3iiNqvN1xY5qH2nlk6Ij7p4AZBgM3?= =?us-ascii?Q?pC3kWYv35cCnsoK91ldtr4KN0UgPVS4=3D?= X-OriginatorOrg: nutanix.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1680b688-b378-4485-b6fb-08da19881830 X-MS-Exchange-CrossTenant-AuthSource: SJ0PR02MB8564.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Apr 2022 17:49:14.0001 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: bb047546-786f-4de1-bd75-24e5b6f79043 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eUnHE7P1rBZ9CepxeDpf9GqajAWikq8HuAVRgyGn4ELdI2MCz1/Ezd2CtaRZzKUKLxhVrF7uRR1Sa2VEboTgxdVx72aWjUgOyPbVXWqFAH4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR02MB6533 X-Proofpoint-ORIG-GUID: YQNAvSZsJPdY3enohcEUTif8Rh-vTS2H X-Proofpoint-GUID: YQNAvSZsJPdY3enohcEUTif8Rh-vTS2H X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.425,FMLib:17.11.64.514 definitions=2022-04-08_05,2022-04-08_01,2022-02-23_01 X-Proofpoint-Spam-Reason: safe 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-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: prachatos.mitra@nutanix.com, Rohit Kumar , Florian Schmidt , prerna.saxena@nutanix.com Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.10 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-ZM-MESSAGEID: 1649440214082100003 Content-Type: text/plain; charset="utf-8" Moving diskSourceNetwork and diskSourceFile's Source definition under 'define' element, so that it will be easier to reuse it at multiple places. Signed-off-by: Prerna Saxena Signed-off-by: Florian Schmidt Signed-off-by: Rohit Kumar --- src/conf/schemas/domaincommon.rng | 60 +++++++++++++++++-------------- 1 file changed, 34 insertions(+), 26 deletions(-) diff --git a/src/conf/schemas/domaincommon.rng b/src/conf/schemas/domaincom= mon.rng index c0c14fe558..58eb9670d4 100644 --- a/src/conf/schemas/domaincommon.rng +++ b/src/conf/schemas/domaincommon.rng @@ -1724,6 +1724,31 @@ =20 + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1731,28 +1756,7 @@ - - - - - - - - - - - - - - - - - - - - - - + =20 @@ -2147,10 +2151,7 @@ =20 - - - network - + @@ -2165,6 +2166,13 @@ =20 + + + network + + + + volume --=20 2.25.1