From nobody Sun Feb 8 21:32:30 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; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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=1647876294; cv=none; d=zohomail.com; s=zohoarc; b=KLGcJZx9zj3Q0Q2HUnU3V0X9HyYC3h37kOtTuhgpdcRZTa/gy8+bD6iJaUR8Y6Z6QhTII+OkMwVuZUcfCIGJEGC0PyXOIqRmG4hB3rcKfVbCrUGouSV0aYYFSNHEroqzDQXEkSqDfF6zCKi0jb2JvxIF1Pv6/9A+bDh4W25Zu0Y= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1647876294; 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=0ilRRDDFISKwZiDtbTaQLPAME//Aan3F5rdVgK3uQCA=; b=CQzM1upgvO5UWVjUKfhd/hVe/OYvWo06c9SChklOXVKdb34j3DIMfB3LcRs9/63P1lkI8YZI2PdRhGNpg7OCj8atgsO08vmJ0CCrYaiHBPN6uV2aVtuCYqbmcKkpwjpg7uN3S6ZRXAzFd+rlLfcbFIlD9sEF+pzdT2LRN8B5FE4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.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 [170.10.133.124]) by mx.zohomail.com with SMTPS id 1647876294018497.14365779328443; Mon, 21 Mar 2022 08:24:54 -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-46-UU6ZABS6MyuuqGDgaZe8Jg-1; Mon, 21 Mar 2022 11:24:50 -0400 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 9B25381DA19; Mon, 21 Mar 2022 15:24:47 +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 6883D41D3ED; Mon, 21 Mar 2022 15:24:47 +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 BD4101940344; Mon, 21 Mar 2022 15:24:46 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 5ECD2193F514 for ; Mon, 21 Mar 2022 15:24:45 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 416B141D3ED; Mon, 21 Mar 2022 15:24:45 +0000 (UTC) Received: from speedmetal.lan (unknown [10.40.208.35]) by smtp.corp.redhat.com (Postfix) with ESMTP id 59B2241D3FD for ; Mon, 21 Mar 2022 15:24:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1647876292; 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=0ilRRDDFISKwZiDtbTaQLPAME//Aan3F5rdVgK3uQCA=; b=hQAROJMWBf1D9SD8Y51r2ilQB+fpUkDeOrfKD49Dv8skr5p/4DrEyfs0dtzvBqJ6SIMhd8 RN6ffDFPLnbuSKSiX4Lxe4UVWkp9Zj9PbbCgNk13smlf8YZeHJ8wTLaj/v2eMyFF4IdQgg 39D4xlIlO/nnyq8Kh1DJglrGEa2WJD8= X-MC-Unique: UU6ZABS6MyuuqGDgaZe8Jg-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 3/7] qemu: domain: Add XML namespace code for overriding device config Date: Mon, 21 Mar 2022 16:24:36 +0100 Message-Id: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 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: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 2.85 on 10.11.54.9 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: 1647876295011100003 Content-Type: text/plain; charset="utf-8" Implement the XML parser and formatter for overriding of device properties such as: Signed-off-by: Peter Krempa --- docs/schemas/domaincommon.rng | 32 +++ src/qemu/qemu_domain.c | 206 ++++++++++++++++++ src/qemu/qemu_domain.h | 33 +++ .../qemu-ns.x86_64-4.0.0.args | 2 +- .../qemu-ns.x86_64-latest.args | 2 +- tests/qemuxml2argvdata/qemu-ns.xml | 12 + .../qemu-ns.x86_64-latest.xml | 12 + 7 files changed, 297 insertions(+), 2 deletions(-) diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng index 9c1b64a644..804ade3f37 100644 --- a/docs/schemas/domaincommon.rng +++ b/docs/schemas/domaincommon.rng @@ -80,6 +80,9 @@ + + + @@ -7553,6 +7556,35 @@ + + + + + + + + + + + + string + signed + unsigned + bool + remove + + + + + + + + + + + + +