From nobody Sun Feb 8 02:22:02 2026
Delivered-To: importer@patchew.org
Received-SPF: pass (zohomail.com: domain of redhat.com designates
207.211.31.81 as permitted sender) client-ip=207.211.31.81;
envelope-from=libvir-list-bounces@redhat.com;
helo=us-smtp-delivery-1.mimecast.com;
Authentication-Results: mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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=1583434277; cv=none;
d=zohomail.com; s=zohoarc;
b=iOPb/QJpkTRCPkrTpjGNSla1n+ANplBwGvD3AQCG3VzdmE0BtUazgadYCnCexlWi1zS3NWp9LQ5bEd7+0VRjqRz+nZx7WnetzY3IyBBjOF7Sud26VsExTk46ELW/RC6ocaRFeMjYmPEYjfUaefplmcqMM9xJdH5RJG1xCbSQfCI=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1583434277;
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=dIfZ88GPcmxgeXSW9wMPLdtegiubsiYXZsgwsWUYldg=;
b=k08f69JE/LdDPRXMIEQ7WQsJ6Y/3r36Dn2qCoZi9kSG4O3a+tMXt9xrV5PDGlbHLUasUrvv4CS5nZpYbJrE1+EgpY0ZcJMzPLyx3sS3LQw/VbUVLzWDmqpRSo0yYdKAEo9bnifxEGp9ZR3RAomKC0hrriAun1+cNoCalAxMDkZE=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.81 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-1.mimecast.com (us-smtp-2.mimecast.com
[207.211.31.81]) by mx.zohomail.com
with SMTPS id 1583434277359222.79673117218533;
Thu, 5 Mar 2020 10:51:17 -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-257-M-blcquOPVaHQbleqo-afw-1; Thu, 05 Mar 2020 13:51:13 -0500
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com
[10.5.11.13])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 42974800D4E;
Thu, 5 Mar 2020 18:51:08 +0000 (UTC)
Received: from colo-mx.corp.redhat.com
(colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20])
by smtp.corp.redhat.com (Postfix) with ESMTPS id B1DC991D74;
Thu, 5 Mar 2020 18:51:07 +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 0B24F1803C33;
Thu, 5 Mar 2020 18:51:06 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com
[10.11.54.3])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id 025Ip4Qw000932 for ;
Thu, 5 Mar 2020 13:51:04 -0500
Received: by smtp.corp.redhat.com (Postfix)
id 742FD101B556; Thu, 5 Mar 2020 18:51:04 +0000 (UTC)
Received: from mimecast-mx02.redhat.com
(mimecast02.extmail.prod.ext.rdu2.redhat.com [10.11.55.18])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 6FDDC101F0A1
for ; Thu, 5 Mar 2020 18:51:04 +0000 (UTC)
Received: from us-smtp-1.mimecast.com (us-smtp-1.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 50C668007A4
for ; Thu, 5 Mar 2020 18:51:04 +0000 (UTC)
Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com
[209.85.160.169]) (Using TLS) by relay.mimecast.com with ESMTP id
us-mta-73-zr3UGMxFMA-Ay5Xjgz38Gg-1; Thu, 05 Mar 2020 13:51:01 -0500
Received: by mail-qt1-f169.google.com with SMTP id r6so4940733qtt.9
for ; Thu, 05 Mar 2020 10:51:01 -0800 (PST)
Received: from rekt.ibmuc.com ([2804:431:c7c6:77f1:bfee:4b65:7d38:7648])
by smtp.gmail.com with ESMTPSA id
i26sm16182868qkl.66.2020.03.05.10.50.56
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 05 Mar 2020 10:50:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1583434275;
h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc: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=dIfZ88GPcmxgeXSW9wMPLdtegiubsiYXZsgwsWUYldg=;
b=iKiY0kVhO2MTDbezWr3Oqz4+epcc0imMSuBgmlLit47OP6GlB09ucWDKLvl3sby11+DQ4Q
Xu2zO0liIXHve0TVI4tj7/B49PpgFcVt99HMZ95WLvIjpzkesQh4bmhioq6wd+JkBcblcd
4D25Z8sbC8Umf95anvRqy3HDqzbpj1o=
X-MC-Unique: M-blcquOPVaHQbleqo-afw-1
X-MC-Unique: zr3UGMxFMA-Ay5Xjgz38Gg-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=johp3lOJyp8hGfyR045VQYG+/ccvpFeSSiKXwFv7e7E=;
b=kWsinqKNdMe7thC5OYwAQ/hDX+8Q4Mw9BrsHe7JvHxw1RkNX4iRGdv1QWoG1qecYs1
cZcjAFObRBwVtalggUMwHQPDLBaYiGlp5XT43VnnC1hNA7uj6KMGF/VgaVx0fZqSiP0w
AjR4yk/8C+I9LFcRgIdrGwkR3zOtZIaxDa714DdiaXM/xIZKqFz8hcPsKu57xgTpT3pJ
fnHQFoL96C58RkHo5BS5XHPYFBY+kX1LPFiPK5pV1F2z+iaJpx11JDvKeud1QG81JumC
tQwy3a40r+cihKO+/IgnLpwvvqEcDdDqO7o7YrBmel7T0P1EvHd+C3ahNuj6LCGczWCL
hWCg==
X-Gm-Message-State: ANhLgQ0HStNOUMS79NIsZJ3xdbdT8BjdCLeyxLhifPfzE9DIQ6BJUW/B
DRaQAuyey+kn7UW/xs5u2LEuFHe9FIw=
X-Google-Smtp-Source:
ADFU+vuYrGGmsSgPiFqoLS8pSG7vDTH+LO3prRingM15W66U9gS92ogP8XdcYMwAfC4GxsBbM+tV+A==
X-Received: by 2002:ac8:44a3:: with SMTP id a3mr56761qto.303.1583434258058;
Thu, 05 Mar 2020 10:50:58 -0800 (PST)
From: Daniel Henrique Barboza
To: libvir-list@redhat.com
Subject: [PATCH 1/4] conf: Introduce optional 'uuid' element for NVDIMM memory
Date: Thu, 5 Mar 2020 15:50:44 -0300
Message-Id: <20200305185047.1097648-2-danielhb413@gmail.com>
In-Reply-To: <20200305185047.1097648-1-danielhb413@gmail.com>
References: <20200305185047.1097648-1-danielhb413@gmail.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3
X-MIME-Autoconverted: from quoted-printable to 8bit by
lists01.pubmisc.prod.ext.phx2.redhat.com id 025Ip4Qw000932
X-loop: libvir-list@redhat.com
Cc: Daniel Henrique Barboza
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.13
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"
ppc64 NVDIMM support was implemented in QEMU by commit [1].
The support is similar to what x86 already does, aside from
an extra 'uuid' element.
This patch introduces a new optional 'uuid' element for the
NVDIMM memory model. This element behaves like the 'uuid'
element of the domain definition - if absent, we'll create
a new one, otherwise use the one provided by the XML.
The 'uuid' element is exclusive to pseries guests and are
unavailable for other architectures.
Next patch will use this new element to add NVDIMM support
for ppc64.
[1] https://github.com/qemu/qemu/commit/ee3a71e36654317b14ede0290e87628f8b7=
9f850
Signed-off-by: Daniel Henrique Barboza
---
docs/schemas/domaincommon.rng | 5 ++
src/conf/domain_conf.c | 37 +++++++++++++--
src/conf/domain_conf.h | 3 ++
.../memory-hotplug-nvdimm-ppc64.xml | 47 +++++++++++++++++++
.../memory-hotplug-nvdimm-ppc64.xml | 47 +++++++++++++++++++
tests/qemuxml2xmltest.c | 2 +
6 files changed, 138 insertions(+), 3 deletions(-)
create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.xml
create mode 100644 tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-ppc64.xml
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 529a98fc05..119ebc9401 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -5660,6 +5660,11 @@
+
+
+
+
+
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index d8471acd2d..cce4d322f9 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -16500,6 +16500,7 @@ static virDomainMemoryDefPtr
virDomainMemoryDefParseXML(virDomainXMLOptionPtr xmlopt,
xmlNodePtr memdevNode,
xmlXPathContextPtr ctxt,
+ const virDomainDef *dom,
unsigned int flags)
{
VIR_XPATH_NODE_AUTORESTORE(ctxt);
@@ -16546,6 +16547,25 @@ virDomainMemoryDefParseXML(virDomainXMLOptionPtr x=
mlopt,
=20
def->discard =3D val;
}
+ VIR_FREE(tmp);
+
+ if (def->model =3D=3D VIR_DOMAIN_MEMORY_MODEL_NVDIMM &&
+ ARCH_IS_PPC64(dom->os.arch)) {
+ /* Extract nvdimm uuid or generate a new one */
+ tmp =3D virXPathString("string(./uuid[1])", ctxt);
+
+ if (!tmp) {
+ if (virUUIDGenerate(def->uuid) < 0) {
+ virReportError(VIR_ERR_INTERNAL_ERROR,
+ "%s", _("Failed to generate UUID"));
+ goto error;
+ }
+ } else if (virUUIDParse(tmp, def->uuid) < 0) {
+ virReportError(VIR_ERR_INTERNAL_ERROR,
+ "%s", _("malformed uuid element"));
+ goto error;
+ }
+ }
=20
/* source */
if ((node =3D virXPathNode("./source", ctxt)) &&
@@ -16843,7 +16863,8 @@ virDomainDeviceDefParse(const char *xmlStr,
break;
case VIR_DOMAIN_DEVICE_MEMORY:
if (!(dev->data.memory =3D virDomainMemoryDefParseXML(xmlopt, node,
- ctxt, flags)))
+ ctxt, def,
+ flags)))
return NULL;
break;
case VIR_DOMAIN_DEVICE_IOMMU:
@@ -21790,6 +21811,7 @@ virDomainDefParseXML(xmlDocPtr xml,
virDomainMemoryDefPtr mem =3D virDomainMemoryDefParseXML(xmlopt,
nodes[i],
ctxt,
+ def,
flags);
if (!mem)
goto error;
@@ -26976,6 +26998,7 @@ virDomainMemoryTargetDefFormat(virBufferPtr buf,
static int
virDomainMemoryDefFormat(virBufferPtr buf,
virDomainMemoryDefPtr def,
+ const virDomainDef *dom,
unsigned int flags)
{
const char *model =3D virDomainMemoryModelTypeToString(def->model);
@@ -26990,6 +27013,14 @@ virDomainMemoryDefFormat(virBufferPtr buf,
virBufferAddLit(buf, ">\n");
virBufferAdjustIndent(buf, 2);
=20
+ if (def->model =3D=3D VIR_DOMAIN_MEMORY_MODEL_NVDIMM &&
+ ARCH_IS_PPC64(dom->os.arch)) {
+ char uuidstr[VIR_UUID_STRING_BUFLEN];
+
+ virUUIDFormat(def->uuid, uuidstr);
+ virBufferAsprintf(buf, "%s\n", uuidstr);
+ }
+
if (virDomainMemorySourceDefFormat(buf, def) < 0)
return -1;
=20
@@ -29319,7 +29350,7 @@ virDomainDefFormatInternalSetRootName(virDomainDefP=
tr def,
}
=20
for (n =3D 0; n < def->nmems; n++) {
- if (virDomainMemoryDefFormat(buf, def->mems[n], flags) < 0)
+ if (virDomainMemoryDefFormat(buf, def->mems[n], def, flags) < 0)
goto error;
}
=20
@@ -30432,7 +30463,7 @@ virDomainDeviceDefCopy(virDomainDeviceDefPtr src,
rc =3D virDomainPanicDefFormat(&buf, src->data.panic);
break;
case VIR_DOMAIN_DEVICE_MEMORY:
- rc =3D virDomainMemoryDefFormat(&buf, src->data.memory, flags);
+ rc =3D virDomainMemoryDefFormat(&buf, src->data.memory, def, flags=
);
break;
case VIR_DOMAIN_DEVICE_SHMEM:
rc =3D virDomainShmemDefFormat(&buf, src->data.shmem, flags);
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index 91b776c28a..f2f2635957 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -2189,6 +2189,9 @@ struct _virDomainMemoryDef {
unsigned long long labelsize; /* kibibytes; valid only for NVDIMM */
bool readonly; /* valid only for NVDIMM */
=20
+ /* required for QEMU NVDIMM ppc64 support */
+ unsigned char uuid[VIR_UUID_BUFLEN];
+
virDomainDeviceInfo info;
};
=20
diff --git a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.xml b/tests=
/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.xml
new file mode 100644
index 0000000000..59352d3c52
--- /dev/null
+++ b/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.xml
@@ -0,0 +1,47 @@
+
+ QEMUGuest1
+ c7a5fdbd-edaf-9455-926a-d65c16db1809
+ 1099511627776
+ 1267710
+ 1267710
+ 2
+
+ hvm
+
+
+
+
+
+
+
+
+
+ destroy
+ restart
+ destroy
+
+ /usr/bin/qemu-system-ppc64
+
+
+
+
+
+
+
+
+
+
+
+
+ 49545eb3-75e1-2d0a-acdd-f0294406c99e
+
+ /tmp/nvdimm
+
+
+ 523264
+ 0
+
+
+
+
+
diff --git a/tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-ppc64.xml b/tes=
ts/qemuxml2xmloutdata/memory-hotplug-nvdimm-ppc64.xml
new file mode 100644
index 0000000000..59352d3c52
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/memory-hotplug-nvdimm-ppc64.xml
@@ -0,0 +1,47 @@
+
+ QEMUGuest1
+ c7a5fdbd-edaf-9455-926a-d65c16db1809
+ 1099511627776
+ 1267710
+ 1267710
+ 2
+
+ hvm
+
+
+
+
+
+
+
+
+
+ destroy
+ restart
+ destroy
+
+ /usr/bin/qemu-system-ppc64
+
+
+
+
+
+
+
+
+
+
+
+
+ 49545eb3-75e1-2d0a-acdd-f0294406c99e
+
+ /tmp/nvdimm
+
+
+ 523264
+ 0
+
+
+
+
+
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index 9b6a235777..a3c25b4a76 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -1246,6 +1246,8 @@ mymain(void)
DO_TEST("memory-hotplug-nvdimm-align", QEMU_CAPS_DEVICE_NVDIMM);
DO_TEST("memory-hotplug-nvdimm-pmem", QEMU_CAPS_DEVICE_NVDIMM);
DO_TEST("memory-hotplug-nvdimm-readonly", QEMU_CAPS_DEVICE_NVDIMM);
+ DO_TEST("memory-hotplug-nvdimm-ppc64", QEMU_CAPS_DEVICE_SPAPR_PCI_HOST=
_BRIDGE,
+ QEMU_CAPS_DEVICE_NVDIMM);
DO_TEST("net-udp", NONE);
=20
DO_TEST("video-virtio-gpu-device", QEMU_CAPS_DEVICE_VIRTIO_GPU);
--=20
2.24.1
From nobody Sun Feb 8 02:22:02 2026
Delivered-To: importer@patchew.org
Received-SPF: pass (zohomail.com: domain of redhat.com designates
207.211.31.120 as permitted sender) client-ip=207.211.31.120;
envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com;
Authentication-Results: mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1583434291; cv=none;
d=zohomail.com; s=zohoarc;
b=DMlnVXisNu/RIplKiCP9B6Y5Ffojo0P/4yP50Nb9exziFcp5aPA1e2svMYBGzy5fPme/GHwqvaInqlrexf4RZ9M5vlm6WQpnoFBpc3WZyaJYyDZ7OWJ3pU3IrU1bouZ1MKHIbmi4fpiOD0+JonXRnUfXkRWEEQ6OLVVRp7ORFPk=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1583434291;
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=syfRbYVu7OziPy3CLPaLo8GmcdZekOqAYUBOvBHYa7M=;
b=HdEts/PkX8d3u27pPVSC23I8pEomJ92oAJt3BbUB4lX4OTuRr7xNMYhDaLtTJVSuqUKaWe/r3Z/AEyBap1e9n8z16n1zsIIdKMUQZrwy1KBMWNv9KlBP082pqDW34hHY8yQum5maxw4RpoSi0v4apDUtKidzG26BMxoOOSHRqbk=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com
[207.211.31.120]) by mx.zohomail.com
with SMTPS id 1583434291613353.3303728601171;
Thu, 5 Mar 2020 10:51:31 -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-63-vg8tgx1VNg6ltMJfMUvHLw-1; Thu, 05 Mar 2020 13:51:28 -0500
Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com
[10.5.11.14])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D48F6DBAC;
Thu, 5 Mar 2020 18:51:21 +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 ADE805D9CD;
Thu, 5 Mar 2020 18:51:21 +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 6361A5FBEF;
Thu, 5 Mar 2020 18:51:21 +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 025Ip7SS000949 for ;
Thu, 5 Mar 2020 13:51:07 -0500
Received: by smtp.corp.redhat.com (Postfix)
id 0C26D2166B27; Thu, 5 Mar 2020 18:51:07 +0000 (UTC)
Received: from mimecast-mx02.redhat.com
(mimecast04.extmail.prod.ext.rdu2.redhat.com [10.11.55.20])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 0600C2166B28
for ; Thu, 5 Mar 2020 18:51:06 +0000 (UTC)
Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com
[205.139.110.61])
(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 4FE30101A55E
for ; Thu, 5 Mar 2020 18:51:06 +0000 (UTC)
Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com
[209.85.222.193]) (Using TLS) by relay.mimecast.com with ESMTP id
us-mta-200-BrcIiZU5M2ajVOLwrYfihg-1; Thu, 05 Mar 2020 13:51:04 -0500
Received: by mail-qk1-f193.google.com with SMTP id y126so2942740qke.4
for ; Thu, 05 Mar 2020 10:51:03 -0800 (PST)
Received: from rekt.ibmuc.com ([2804:431:c7c6:77f1:bfee:4b65:7d38:7648])
by smtp.gmail.com with ESMTPSA id
i26sm16182868qkl.66.2020.03.05.10.50.58
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 05 Mar 2020 10:50:59 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1583434290;
h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc: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=syfRbYVu7OziPy3CLPaLo8GmcdZekOqAYUBOvBHYa7M=;
b=Muj4+a1ObqS3XfP8gQuc46lRmdoCB5iKpg3g6FxzbTLGA4I7x9i32wehIuwt0NZQEK1fUe
lXGS4sXrravN2stscG7oshXSEfWQXbvxKLfSY3TkOJvuY43jADhl22HqXxA7ruaKUNm6tf
aO9XMQwpZ1wQj0jS9n7SV+64E0HVQ24=
X-MC-Unique: vg8tgx1VNg6ltMJfMUvHLw-1
X-MC-Unique: BrcIiZU5M2ajVOLwrYfihg-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=2cQ76NRGBgcrC5hrB5xXKTG0xjzbJOZWbDiJwWV9cAA=;
b=qXtSp0aree3uHBt4bvbiHFDVq6DceMPEdD0jiu8GFw9qEl17PhArtuVFOQa+5tjrsM
Nc0ppMXJuveyYE4vjf7dYn3R+1D/A5LqweUksg0YKxBASs8R7jpwoDawKOi1WwTSmBN9
tBOYs/cJlKhUJPaHjL6SWYFIATkmlsimAzeZCW4j0rhiEnlWRTFfH1vft1La0fl1J4At
yURHE3FFgdqPPtKGCbakfUHKaN8FQfU0S9/dWH95enZCpnZiH/Jh/3FKxVYUlduYdIIV
5hvP3Ht460svQOmcg/CqBfahJahG/i8nH9+GhPS87THhlmLQMClpZCRpYyrQ5935L0za
FrFA==
X-Gm-Message-State: ANhLgQ0RNyAsDeZjDU4kuEepdSFCaQYA3qpf/Bb6fK1aLXFT0nndgVfI
86OQ5df6kAlV7k+sHp6xHFE0imhIEJI=
X-Google-Smtp-Source:
ADFU+vt7M1G6e22iDJoE4ssmcm9WIJdgf+xJoSyL8wL+vk1pIhEYq7cnCSWHGaUjZDLcRrYCLbWFEA==
X-Received: by 2002:a05:620a:2239:: with SMTP id
n25mr9487433qkh.147.1583434259373;
Thu, 05 Mar 2020 10:50:59 -0800 (PST)
From: Daniel Henrique Barboza
To: libvir-list@redhat.com
Subject: [PATCH 2/4] qemu_command.c: enable NVDIMM support for ppc64
Date: Thu, 5 Mar 2020 15:50:45 -0300
Message-Id: <20200305185047.1097648-3-danielhb413@gmail.com>
In-Reply-To: <20200305185047.1097648-1-danielhb413@gmail.com>
References: <20200305185047.1097648-1-danielhb413@gmail.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6
X-MIME-Autoconverted: from quoted-printable to 8bit by
lists01.pubmisc.prod.ext.phx2.redhat.com id 025Ip7SS000949
X-loop: libvir-list@redhat.com
Cc: Daniel Henrique Barboza
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.14
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"
Using the new 'uuid' element for NVDIMM memory added in the
previous patch, let's enable NVDIMM support for ppc64 guests.
Signed-off-by: Daniel Henrique Barboza
---
src/qemu/qemu_command.c | 7 ++++
.../memory-hotplug-nvdimm-ppc64.args | 32 +++++++++++++++++++
tests/qemuxml2argvtest.c | 4 +++
3 files changed, 43 insertions(+)
create mode 100644 tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.args
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 9e0334a3e7..76f1247329 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -3677,6 +3677,13 @@ qemuBuildMemoryDeviceStr(virDomainMemoryDefPtr mem,
if (mem->labelsize)
virBufferAsprintf(&buf, "label-size=3D%llu,", mem->labelsize *=
1024);
=20
+ if (virUUIDIsValid(mem->uuid)) {
+ char uuidstr[VIR_UUID_STRING_BUFLEN];
+
+ virUUIDFormat(mem->uuid, uuidstr);
+ virBufferAsprintf(&buf, "uuid=3D%s,", uuidstr);
+ }
+
if (mem->readonly) {
if (!virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_DEVICE_NVDIMM_UN=
ARMED)) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
diff --git a/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.args b/test=
s/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.args
new file mode 100644
index 0000000000..160c5f1131
--- /dev/null
+++ b/tests/qemuxml2argvdata/memory-hotplug-nvdimm-ppc64.args
@@ -0,0 +1,32 @@
+LC_ALL=3DC \
+PATH=3D/bin \
+HOME=3D/tmp/lib/domain--1-QEMUGuest1 \
+USER=3Dtest \
+LOGNAME=3Dtest \
+XDG_DATA_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.local/share \
+XDG_CACHE_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.cache \
+XDG_CONFIG_HOME=3D/tmp/lib/domain--1-QEMUGuest1/.config \
+QEMU_AUDIO_DRV=3Dnone \
+/usr/bin/qemu-system-ppc64 \
+-name QEMUGuest1 \
+-S \
+-machine pseries,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff,nvdimm=3Don \
+-m size=3D1048576k,slots=3D16,maxmem=3D1099511627776k \
+-realtime mlock=3Doff \
+-smp 2,sockets=3D2,cores=3D1,threads=3D1 \
+-numa node,nodeid=3D0,cpus=3D0-1,mem=3D1024 \
+-object memory-backend-file,id=3Dmemnvdimm0,prealloc=3Dyes,mem-path=3D/tmp=
/nvdimm,\
+size=3D536870912 \
+-device nvdimm,node=3D0,uuid=3D49545eb3-75e1-2d0a-acdd-f0294406c99e,\
+memdev=3Dmemnvdimm0,id=3Dnvdimm0,slot=3D0 \
+-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
+-display none \
+-no-user-config \
+-nodefaults \
+-chardev socket,id=3Dcharmonitor,path=3D/tmp/lib/domain--1-QEMUGuest1/moni=
tor.sock,\
+server,nowait \
+-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \
+-rtc base=3Dutc \
+-no-shutdown \
+-usb \
+-device virtio-balloon-pci,id=3Dballoon0,bus=3Dpci.0,addr=3D0x2
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index 35d413d40b..077f7e7650 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -2790,6 +2790,10 @@ mymain(void)
DO_TEST_CAPS_LATEST("memory-hotplug-nvdimm-align");
DO_TEST_CAPS_LATEST("memory-hotplug-nvdimm-pmem");
DO_TEST_CAPS_LATEST("memory-hotplug-nvdimm-readonly");
+ DO_TEST("memory-hotplug-nvdimm-ppc64", QEMU_CAPS_KVM, QEMU_CAPS_DEVICE=
_NVDIMM,
+ QEMU_CAPS_NUMA, QEMU_CAPS_DEVICE_SPAPR_PCI_HOST_BRIDGE,
+ QEMU_CAPS_OBJECT_MEMORY_RAM,
+ QEMU_CAPS_OBJECT_MEMORY_FILE);
=20
DO_TEST("machine-aeskeywrap-on-caps",
QEMU_CAPS_AES_KEY_WRAP,
--=20
2.24.1
From nobody Sun Feb 8 02:22:02 2026
Delivered-To: importer@patchew.org
Received-SPF: pass (zohomail.com: domain of redhat.com designates
205.139.110.120 as permitted sender) client-ip=205.139.110.120;
envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com;
Authentication-Results: mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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=1583434290; cv=none;
d=zohomail.com; s=zohoarc;
b=cZZ+EvYnn/t7nTAVVymnPsGAOC+nv2OCXhWg+MqkfKYvwPz8WgSw8SMFy7VoT8awmHTJ1PWn4Eqin5Mtxvi64YelpMjyOsjlgVkKW0Rt9rNENqj4kvNgn8t+cxEX3wV6rhkdPm1WEr33YYqafAUe5lkasgaxCjd8wm3L9DP/Xeo=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1583434290;
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=wHSDpP5JpMeXHzdYE5b75Ki+XbaaAXUQplaAQkg7Ylg=;
b=BE8nAhRw5wBRCTVL/TUoKa26yjb3UgRh167uxPXrVsIw5Qu1Yw3NuLdbLjPldxQ9Ww4Ot7hpf8DAac6a7ArT8ypfRqswCIih8l3LLzyOyWvSsH4KsFsbJGPKnY2zndH9dYcsunbrQYNf9gczUOG7TUvSmj4PlBU5sCmxRscq/lU=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com
[205.139.110.120]) by mx.zohomail.com
with SMTPS id 1583434290070419.57960785332807;
Thu, 5 Mar 2020 10:51:30 -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-44-DMhtd09COB-2w-kC-jrhXA-1; Thu, 05 Mar 2020 13:51:26 -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 5B00C107ACC9;
Thu, 5 Mar 2020 18:51:21 +0000 (UTC)
Received: from colo-mx.corp.redhat.com
(colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 0F40673897;
Thu, 5 Mar 2020 18:51:21 +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 9154A1803C38;
Thu, 5 Mar 2020 18:51:20 +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 025Ip9u1000961 for ;
Thu, 5 Mar 2020 13:51:09 -0500
Received: by smtp.corp.redhat.com (Postfix)
id 2F5772166B2A; Thu, 5 Mar 2020 18:51:09 +0000 (UTC)
Received: from mimecast-mx02.redhat.com
(mimecast03.extmail.prod.ext.rdu2.redhat.com [10.11.55.19])
by smtp.corp.redhat.com (Postfix) with ESMTPS id 2B2012166B27
for ; Thu, 5 Mar 2020 18:51:03 +0000 (UTC)
Received: from us-smtp-1.mimecast.com (us-smtp-1.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 9479F800307
for ; Thu, 5 Mar 2020 18:51:03 +0000 (UTC)
Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com
[209.85.160.195]) (Using TLS) by relay.mimecast.com with ESMTP id
us-mta-301-bTdkc1V9NTuriPcs8sUsEQ-1; Thu, 05 Mar 2020 13:51:01 -0500
Received: by mail-qt1-f195.google.com with SMTP id v22so4938901qtp.10
for ; Thu, 05 Mar 2020 10:51:01 -0800 (PST)
Received: from rekt.ibmuc.com ([2804:431:c7c6:77f1:bfee:4b65:7d38:7648])
by smtp.gmail.com with ESMTPSA id
i26sm16182868qkl.66.2020.03.05.10.50.59
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 05 Mar 2020 10:51:00 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1583434288;
h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc: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=wHSDpP5JpMeXHzdYE5b75Ki+XbaaAXUQplaAQkg7Ylg=;
b=cWDzk+DQQzBdGzQxTWBICOLpSTMBi4rkR/I8vgKUFNq8T/KgLzuUj5fgy3KTXqU6pxCJIC
iTLBtrgKXFqtqv7cbu8cDKRZMF5BQrzmzDQJDtgcxlUv+vFwIreovsPf5YdTpAiLb/uMhM
4pTkFab4AMvsfadlTW3SHXvqBE3CDPk=
X-MC-Unique: DMhtd09COB-2w-kC-jrhXA-1
X-MC-Unique: bTdkc1V9NTuriPcs8sUsEQ-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=XUkRkRJVow7mfJ7Ko4Y30y7T83KVrlyF+yNqTFbrkiY=;
b=sUH9A9am8+9CvV4T9oo+JXZILrVPX38tCD6PQp8dzxtsbtVpsywp7Usb090RxFaF7A
s+T1Wk1AP+m0aIM2NOWeHUVcmY1wxBTcLpbZRaJxUPM4z8C2lctILYnPPlllmAXvCoXM
DkUilE//QlgxvI2eiw5hnKH7HlEomx/E4CUFfUpRYlQhaERAABkjn4kDEsvtjGOrM2r5
0UwGbsRAEhXEPyH8qM6Zq5fhwhp5sl9BTdF/jACNvm+ipbDf+7CxoSYD9HtyH/nN3lgH
UuFA9nIga8dPz9PQb0KNZ7iQDD97L9Q0N4OOEqy83uLsh8bGOmBAzSjRn5hPpP8D3iSj
mKgg==
X-Gm-Message-State: ANhLgQ2XcQGA9Ptt6trsULcvpgzHTlfZMcZ8VzoZc9XKt2Wdlq+oWGC4
zTTXGv4Ka62qgM2u/5r9yukfIVUJvHs=
X-Google-Smtp-Source:
ADFU+vucPZQg83B3B0d4V7LO+hcD0jh/HQx0CKRz3PVdShXUCf//5Q/BAZpOZf0mniye3l/RRwMuWQ==
X-Received: by 2002:ac8:7508:: with SMTP id u8mr69123qtq.163.1583434260624;
Thu, 05 Mar 2020 10:51:00 -0800 (PST)
From: Daniel Henrique Barboza
To: libvir-list@redhat.com
Subject: [PATCH 3/4] formatdomain.html.in: document the new 'uuid' NVDIMM
element
Date: Thu, 5 Mar 2020 15:50:46 -0300
Message-Id: <20200305185047.1097648-4-danielhb413@gmail.com>
In-Reply-To: <20200305185047.1097648-1-danielhb413@gmail.com>
References: <20200305185047.1097648-1-danielhb413@gmail.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.78 on 10.11.54.6
X-MIME-Autoconverted: from quoted-printable to 8bit by
lists01.pubmisc.prod.ext.phx2.redhat.com id 025Ip9u1000961
X-loop: libvir-list@redhat.com
Cc: Daniel Henrique Barboza
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
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"
Signed-off-by: Daniel Henrique Barboza
---
docs/formatdomain.html.in | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 7e7771725c..e3bf33f873 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -8857,6 +8857,7 @@ qemu-kvm -net nic,model=3D? /dev/null
</target>
</memory>
<memory model=3D'nvdimm'>
+ <uuid>
<source>
<path>/tmp/nvdimm</path>
</source>
@@ -8870,6 +8871,7 @@ qemu-kvm -net nic,model=3D? /dev/null
</target>
</memory>
<memory model=3D'nvdimm' access=3D'shared'>
+ <uuid>
<source>
<path>/dev/dax0.0</path>
<alignsize unit=3D'KiB'>2048</alignsize>
@@ -8925,6 +8927,17 @@ qemu-kvm -net nic,model=3D? /dev/null
=20
+
uuid
+
+
+ For pSeries guests, an uuid can be set to identify the
+ nvdimm module. If absent, libvirt will generate an uuid.
+ automatically. This attribute is allowed only for
+ model=3D'nvdimm' for pSeries guests.
+ Since 6.2.0
+
+
+
source
--=20
2.24.1
From nobody Sun Feb 8 02:22:02 2026
Delivered-To: importer@patchew.org
Received-SPF: pass (zohomail.com: domain of redhat.com designates
207.211.31.120 as permitted sender) client-ip=207.211.31.120;
envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com;
Authentication-Results: mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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=1583434278; cv=none;
d=zohomail.com; s=zohoarc;
b=IrbHzoNfB3Gc04d3V9y1lDcHm+nPDGxtQKK2gyykmqjBoir8GLv4OZEs7gkxXlQGuu6DKkRokf1cM9Bw5VgRjHtU1DBwdWJcj9cWg06QNAcMmXFRZ0xPqJnUdlDcmgMgPnNjUJH/253QyR75hRD6r4zEGAztoHHdD7+aLkoDAAI=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1583434278;
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=hOkGPDsN+RGd4UG/4R1u0vQ63r3AmcLDcnC8T4wMyec=;
b=glqBfDa08KB8gbEgwkfAmCWS3XgxiJ9pkJimLgjZGgISw4yGEcWrbGpM9/mNvVXgW8IBObfY4+ABDtFr19Ib02torl+tnpi7OQcnNVcbtrxrajOtQONwOoq2Kq32pM8kpq4PgQD/7xOcY4lfxBePibQjAdPR4qcEuXcMbnehQoY=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 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-1.mimecast.com (us-smtp-delivery-1.mimecast.com
[207.211.31.120]) by mx.zohomail.com
with SMTPS id 158343427816946.627888940160915;
Thu, 5 Mar 2020 10:51:18 -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-17-QNJJED8qOvqFnsr1Ei-0eA-1; Thu, 05 Mar 2020 13:51:14 -0500
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com
[10.5.11.12])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B28D118B5FA0;
Thu, 5 Mar 2020 18:51:08 +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 788C660BF1;
Thu, 5 Mar 2020 18:51:08 +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 02C1C84499;
Thu, 5 Mar 2020 18:51:08 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com
[10.11.54.3])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id 025Ip5hM000938 for ;
Thu, 5 Mar 2020 13:51:05 -0500
Received: by smtp.corp.redhat.com (Postfix)
id 08FFC101B556; Thu, 5 Mar 2020 18:51:05 +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 0424E101F0A1
for ; Thu, 5 Mar 2020 18:51:05 +0000 (UTC)
Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com
[205.139.110.61])
(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 E011E8BA513
for ; Thu, 5 Mar 2020 18:51:04 +0000 (UTC)
Received: from mail-qk1-f193.google.com (mail-qk1-f193.google.com
[209.85.222.193]) (Using TLS) by relay.mimecast.com with ESMTP id
us-mta-224-1Y7fgmvjMdOQT6mHg6pu2Q-1; Thu, 05 Mar 2020 13:51:02 -0500
Received: by mail-qk1-f193.google.com with SMTP id y126so2942871qke.4
for ; Thu, 05 Mar 2020 10:51:02 -0800 (PST)
Received: from rekt.ibmuc.com ([2804:431:c7c6:77f1:bfee:4b65:7d38:7648])
by smtp.gmail.com with ESMTPSA id
i26sm16182868qkl.66.2020.03.05.10.51.00
(version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
Thu, 05 Mar 2020 10:51:01 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1583434277;
h=from:from:sender:sender:reply-to:subject:subject:date:date:
message-id:message-id:to:to:cc: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=hOkGPDsN+RGd4UG/4R1u0vQ63r3AmcLDcnC8T4wMyec=;
b=MAM+GlKAXdgxIpxjuSJwB5uJrfOP5Ig+6KVpPdXR+bhKuS5pCExOrv51kFEbGof4Sx6IUO
9S6dN+f6bKetv04PrlXzaG/cDCgQ+a3F9loqfrqWaPRHdyND+svYkUJMStEak9ulGRLEFu
FuUi5ppWmByEhK800U4c7/5b+AqmSoA=
X-MC-Unique: QNJJED8qOvqFnsr1Ei-0eA-1
X-MC-Unique: 1Y7fgmvjMdOQT6mHg6pu2Q-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=5z9Jv5/QyLf9jk2CPCVMywgQNtUoZ0VD9L4m3wDvQ78=;
b=H6SGodrrdXwCiCt193OtpIc82/uubbBN0jlqqcSsiq9PRh9k40TRB9SXPVWJ4+vDjL
Oqsyg1xkXIcsv3k0LJ2+4Zfa5TG1lp7p3hyubViOjIrmC/fkC6hAeIJYM2wssXqcfE5H
deR/7SzF3YlmvJ2pSwgxTYW0zKM2Gty/Gt18lilNQp7BPNOeW/iT8s1UZiNFMgpsC+Xw
DHSzLCxhePbVmP7c79y8VzzLR3Zt9pP0xnZqvXRA30naWtfKx2J3N8qYhXVbtfVEHwTu
rPtFCkERBxB7rdEfT5jL6lMVZATZQ0InyNGVqEY4bpOf1JaQK02yBYD6ci+o8m7bCegK
cr4w==
X-Gm-Message-State: ANhLgQ1SukB/8rQtF3XWTvcAt/kiq9R75WRrlEoh2vG36vhhOQ956jXV
i1S+fB3wrzCTHtNf3a+oKx3o9d0shdI=
X-Google-Smtp-Source:
ADFU+vsUR4LCE2N1YZu5bVRFeLoFYv8JD8p/XVSq+F85GcwEtPUA+CeaBFd48Ekq1M9gpLy9kagHWA==
X-Received: by 2002:a37:8e44:: with SMTP id q65mr9567873qkd.70.1583434261916;
Thu, 05 Mar 2020 10:51:01 -0800 (PST)
From: Daniel Henrique Barboza
To: libvir-list@redhat.com
Subject: [PATCH 4/4] news.xml: document the new NVDIMM support for Pseries
guest
Date: Thu, 5 Mar 2020 15:50:47 -0300
Message-Id: <20200305185047.1097648-5-danielhb413@gmail.com>
In-Reply-To: <20200305185047.1097648-1-danielhb413@gmail.com>
References: <20200305185047.1097648-1-danielhb413@gmail.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.78 on 10.11.54.3
X-MIME-Autoconverted: from quoted-printable to 8bit by
lists01.pubmisc.prod.ext.phx2.redhat.com id 025Ip5hM000938
X-loop: libvir-list@redhat.com
Cc: Daniel Henrique Barboza
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.12
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"
Signed-off-by: Daniel Henrique Barboza
---
docs/news.xml | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/docs/news.xml b/docs/news.xml
index 7fd88f9998..6eb222cdb7 100644
--- a/docs/news.xml
+++ b/docs/news.xml
@@ -44,6 +44,17 @@
+
+
+ qemu: NVDIMM support for pSeries guests
+
+
+ QEMU 5.0 implements NVDIMM memory support for pSeries guests. Th=
is
+ is done by adding an 'uuid' element in the memory XML, which can
+ either be provided in the XML or, if ommited, generated
+ automatically.
+
+
--=20
2.24.1