From nobody Thu May 16 18:54:43 2024
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=pass(p=none dis=none) header.from=redhat.com
ARC-Seal: i=1; a=rsa-sha256; t=1586336739; cv=none;
d=zohomail.com; s=zohoarc;
b=lizzqBQ7rRqQr2fo/6dii8X9GQn+6cIzyBypNeGqv6j5o+qXVXCP6ltvNNZU09Ng3B6Y6V06UpwhXqigTAQfPQ/546WItx7TWFJfI+G3fW60knQC2Sf27hLZPaSVSbfgBbkUooAo1Zqw2tyH2m+71IJXfr9XNLS177906y+T0ss=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1586336739;
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=zTTjuWD2nPfIGDmt1oAiA+86MtcUSxzK2LSyKwyl/AM=;
b=Bj4w6EEuoGZF30W1ZWR24ShTtYIOdWbc1oTLghk69H2suDJHOYCKR/NKaPWyT7pGIZNzwXaizeQ3Xy/tB8b/2yyxeSO1qchfXGWPgqalTKyJqQelbgusqZFFT2WN2LGqL1fZR1mBMIrypbf7imdR+dfm1DLD824qGTVCIFFYGPE=
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=pass 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 1586336739212129.13182106866566;
Wed, 8 Apr 2020 02:05:39 -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-385-GplCm792Na27_WG-xUD9bg-1; Wed, 08 Apr 2020 05:05:35 -0400
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 ABDB3102CE15;
Wed, 8 Apr 2020 09:05:30 +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 72CA49D37E;
Wed, 8 Apr 2020 09:05:30 +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 05A6018089CF;
Wed, 8 Apr 2020 09:05:30 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
[10.5.11.15])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id 038959De025136 for ;
Wed, 8 Apr 2020 05:05:09 -0400
Received: by smtp.corp.redhat.com (Postfix)
id E702AC0D8B; Wed, 8 Apr 2020 09:05:09 +0000 (UTC)
Received: from localhost.localdomain.com (ovpn-13-41.pek2.redhat.com
[10.72.13.41])
by smtp.corp.redhat.com (Postfix) with ESMTP id 9231B5E010;
Wed, 8 Apr 2020 09:05:08 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1586336737;
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=zTTjuWD2nPfIGDmt1oAiA+86MtcUSxzK2LSyKwyl/AM=;
b=XPpJ0mciRX3jufhhAnwf1Uhxe5r84rl6Ia9TkXC09hyIgzeKOenjznClOYZfETob0QLUNF
HtR2nRnEOwr/eulUguIa3HmPJVg3sgMyRCDVZ6Ow0M6MrVkFZwDxEnnfBT0sqdWGGOv+H0
nU+hP/MIs4uQqlEqv9rcWucbzU6UN0Q=
X-MC-Unique: GplCm792Na27_WG-xUD9bg-1
From: Han Han
To: libvir-list@redhat.com
Subject: [PATCH 1/5] qemu_capabilities: Add QEMU_CAPS_RBD_NAMESPACE
Date: Wed, 8 Apr 2020 17:04:44 +0800
Message-Id: <20200408090448.156331-2-hhan@redhat.com>
In-Reply-To: <20200408090448.156331-1-hhan@redhat.com>
References: <20200408090448.156331-1-hhan@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-loop: libvir-list@redhat.com
Cc: pkrempa@redhat.com, Han Han
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"
The capability will be used for rbd namespace option. The rbd namespace
is introduced since ceph Nautilus and qemu v5.0.0.
Signed-off-by: Han Han
---
src/qemu/qemu_capabilities.c | 2 ++
src/qemu/qemu_capabilities.h | 1 +
tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml | 1 +
tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml | 1 +
4 files changed, 5 insertions(+)
diff --git a/src/qemu/qemu_capabilities.c b/src/qemu/qemu_capabilities.c
index 994f1fd1..f4344464 100644
--- a/src/qemu/qemu_capabilities.c
+++ b/src/qemu/qemu_capabilities.c
@@ -571,6 +571,7 @@ VIR_ENUM_IMPL(virQEMUCaps,
=20
/* 360 */
"fsdev.multidevs",
+ "rbd.namespace",
);
=20
=20
@@ -1450,6 +1451,7 @@ static struct virQEMUCapsStringFlags virQEMUCapsQMPSc=
hemaQueries[] =3D {
{ "blockdev-add/arg-type/+nvme", QEMU_CAPS_DRIVE_NVME },
{ "query-named-block-nodes/arg-type/flat", QEMU_CAPS_QMP_QUERY_NAMED_B=
LOCK_NODES_FLAT },
{ "blockdev-snapshot/$allow-write-only-overlay", QEMU_CAPS_BLOCKDEV_SN=
APSHOT_ALLOW_WRITE_ONLY },
+ { "blockdev-add/arg-type/+rbd/namespace", QEMU_CAPS_RBD_NAMESPACE },
};
=20
typedef struct _virQEMUCapsObjectTypeProps virQEMUCapsObjectTypeProps;
diff --git a/src/qemu/qemu_capabilities.h b/src/qemu/qemu_capabilities.h
index d247e197..1aed6af3 100644
--- a/src/qemu/qemu_capabilities.h
+++ b/src/qemu/qemu_capabilities.h
@@ -552,6 +552,7 @@ typedef enum { /* virQEMUCapsFlags grouping marker for =
syntax-check */
=20
/* 360 */
QEMU_CAPS_FSDEV_MULTIDEVS, /* fsdev.multidevs */
+ QEMU_CAPS_RBD_NAMESPACE, /* -blockdev '{"driver":"rbd",...,"namespace"=
:str}' */
=20
QEMU_CAPS_LAST /* this must always be the last item */
} virQEMUCapsFlags;
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml b/tests/qemuca=
pabilitiesdata/caps_5.0.0.ppc64.xml
index a6800482..e420c8ff 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.ppc64.xml
@@ -191,6 +191,7 @@
+
4002050
0
42900241
diff --git a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml b/tests/qemuc=
apabilitiesdata/caps_5.0.0.x86_64.xml
index df3557d1..5db56b75 100644
--- a/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
+++ b/tests/qemucapabilitiesdata/caps_5.0.0.x86_64.xml
@@ -228,6 +228,7 @@
+
4002091
0
43100241
--=20
2.25.0
From nobody Thu May 16 18:54:43 2024
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=pass(p=none dis=none) header.from=redhat.com
ARC-Seal: i=1; a=rsa-sha256; t=1586336725; cv=none;
d=zohomail.com; s=zohoarc;
b=RpB2tX5woMgBsSaTpkGyLz0l2E75l2Q8f8H1d3HnrC3v9+tqVGNBJMNrzABZ2TW3BvRLpmlo8bJMCWUzXNlNFVfozUfWUsX5WYZ6ZkjHupe1nTAXwNftBCIGXo6sTyUzIQ60O6lV0eLCsi+be2gQB70fSccHhnJQddPze0SMghM=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1586336725;
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=1MfoXA7f+a69UcTNcQeS4xKnfuev3M+81aDcAGN3rps=;
b=JgQWTfwYOjdM+25CZkKxKbAZ78lcduUCiH1eNq7YQ2ej/IhLoipeb6jDSRT8pvQVa+lUuVY+87mkWOpgpiGWEvX1pRoNxdmc2TTREWxc7G951VuJYCEAdWYZbtaqX/ziatMrhDKeiYEOuLCired1+xuQzTedV3M1jNQHvdrsSWY=
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=pass header.from= (p=none dis=none)
header.from=
Return-Path:
Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com
[207.211.31.81]) by mx.zohomail.com
with SMTPS id 15863367253141016.9337893754616;
Wed, 8 Apr 2020 02:05:25 -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-405-yTZ7h4AzNseMmmpQupapsQ-1; Wed, 08 Apr 2020 05:05:21 -0400
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 3B630800D4E;
Wed, 8 Apr 2020 09:05:16 +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 58BD75D9CA;
Wed, 8 Apr 2020 09:05:14 +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 4E01E1809565;
Wed, 8 Apr 2020 09:05:13 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
[10.5.11.15])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id 03895BlL025154 for ;
Wed, 8 Apr 2020 05:05:11 -0400
Received: by smtp.corp.redhat.com (Postfix)
id C7FEBC0D8B; Wed, 8 Apr 2020 09:05:11 +0000 (UTC)
Received: from localhost.localdomain.com (ovpn-13-41.pek2.redhat.com
[10.72.13.41])
by smtp.corp.redhat.com (Postfix) with ESMTP id 731E7C0D91;
Wed, 8 Apr 2020 09:05:10 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1586336724;
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=1MfoXA7f+a69UcTNcQeS4xKnfuev3M+81aDcAGN3rps=;
b=aACIYqzzgLhoz6ZKOwfwt4rFK28ULMoW9rhGlR9K8i4vQg9yE3OV+zlxArR3kS5U/sEFrE
LDIojNwg/W3TG/8ErFjBwg4rb4gsZ9SMb4WtBufk3WBoR6Iey9IB5ULaHZ0ykREagCCLwO
Utv2uGj/dA0FXzZWiqnjE7AwxgodAnk=
X-MC-Unique: yTZ7h4AzNseMmmpQupapsQ-1
From: Han Han
To: libvir-list@redhat.com
Subject: [PATCH 2/5] conf: Support to parse rbd namespace attribute
Date: Wed, 8 Apr 2020 17:04:45 +0800
Message-Id: <20200408090448.156331-3-hhan@redhat.com>
In-Reply-To: <20200408090448.156331-1-hhan@redhat.com>
References: <20200408090448.156331-1-hhan@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-loop: libvir-list@redhat.com
Cc: pkrempa@redhat.com, Han Han
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"
Signed-off-by: Han Han
---
src/conf/domain_conf.c | 4 ++++
src/util/virstoragefile.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index 6ad7552b..a4ee2e1e 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -9488,6 +9488,7 @@ virDomainDiskSourceNetworkParse(xmlNodePtr node,
=20
/* config file currently only works with remote disks */
src->configFile =3D virXPathString("string(./config/@file)", ctxt);
+ src->namespace =3D virXPathString("string(./@namespace)", ctxt);
=20
if (src->protocol =3D=3D VIR_STORAGE_NET_PROTOCOL_HTTP ||
src->protocol =3D=3D VIR_STORAGE_NET_PROTOCOL_HTTPS)
@@ -24614,6 +24615,9 @@ virDomainDiskSourceFormatNetwork(virBufferPtr attrB=
uf,
path =3D g_strdup_printf("%s/%s", src->volume, src->path);
=20
virBufferEscapeString(attrBuf, " name=3D'%s'", path ? path : src->path=
);
+ if (src->namespace)
+ virBufferEscapeString(attrBuf, " namespace=3D'%s'", src->namespace=
);
+
virBufferEscapeString(attrBuf, " query=3D'%s'", src->query);
=20
if (src->haveTLS !=3D VIR_TRISTATE_BOOL_ABSENT &&
diff --git a/src/util/virstoragefile.h b/src/util/virstoragefile.h
index 7939c09c..8b683b7e 100644
--- a/src/util/virstoragefile.h
+++ b/src/util/virstoragefile.h
@@ -284,6 +284,7 @@ struct _virStorageSource {
char *snapshot; /* for storage systems supporting internal snapshots */
char *configFile; /* some storage systems use config file as part of
the source definition */
+ char *namespace; /* for the storage systems supporting namespace */
char *query; /* query string for HTTP based protocols */
size_t nhosts;
virStorageNetHostDefPtr hosts;
--=20
2.25.0
From nobody Thu May 16 18:54:43 2024
Delivered-To: importer@patchew.org
Received-SPF: pass (zohomail.com: domain of redhat.com designates
205.139.110.61 as permitted sender) client-ip=205.139.110.61;
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 205.139.110.61 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=1586336776; cv=none;
d=zohomail.com; s=zohoarc;
b=TuX7RqbpYoOTYSf6+URbHEILWG0r8eb30SsVb1gSxjEoN3d55M83jt7ByjJdrE69wGzQZ/5wBZ7tOHDPFrbPjx6cO5/9H3wa/FWn8V6Vm2VQuEcV1RF1Mxk+Nfq/xMU/PjdHKvj3NMXKbSohRxHpFU0nD5x17e6zoNpcdaeJHn0=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1586336776;
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=eAlbg+p55ihhodkOn+gb9xC5Wd69IWL2ERQ5I5fyTeE=;
b=Z5thPzR9NHvasMbR0MRdLle7SZ2naiS2S6fki0bIH1vN3wMrSamCophSq2HgY8ID7unL15ey/dvb0VulrLxcyfq7ZYN/YfHvTprP324gOX8LKNEhcQzW9T3qlie67+nhXjGdWyWZw2YkegFo9sIPzTnaj6l+dS8tN8bhbVeOJcw=
ARC-Authentication-Results: i=1; mx.zohomail.com;
dkim=pass;
spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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-1.mimecast.com (us-smtp-2.mimecast.com
[205.139.110.61]) by mx.zohomail.com
with SMTPS id 15863367760823.350643849487028;
Wed, 8 Apr 2020 02:06:16 -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-417-iVLsmxJ1Pv2MguGMydHvfA-1; Wed, 08 Apr 2020 05:05:35 -0400
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 93F841005510;
Wed, 8 Apr 2020 09:05:29 +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 67F285D9CA;
Wed, 8 Apr 2020 09:05:29 +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 011E918089CE;
Wed, 8 Apr 2020 09:05:29 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
[10.5.11.15])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id 03895DlZ025170 for ;
Wed, 8 Apr 2020 05:05:13 -0400
Received: by smtp.corp.redhat.com (Postfix)
id E079DC0D8B; Wed, 8 Apr 2020 09:05:13 +0000 (UTC)
Received: from localhost.localdomain.com (ovpn-13-41.pek2.redhat.com
[10.72.13.41])
by smtp.corp.redhat.com (Postfix) with ESMTP id 727DAC0D91;
Wed, 8 Apr 2020 09:05:12 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1586336774;
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=eAlbg+p55ihhodkOn+gb9xC5Wd69IWL2ERQ5I5fyTeE=;
b=GOpkiOYVZXvLQvPIOXEQNTaG7pmLobK+UljYYq//U2EojY4RqYRdDyy6Sb99Xxy/QSWOA0
sAloLii1Z5wTBji3kRXCuJyEN3L3IozDlSZa+hnIVCaNRLjENBPqe1sOGRBpLUhzxe2drQ
oZSu9vHDFCz0IHOMkLUx30fb2+MCsIQ=
X-MC-Unique: iVLsmxJ1Pv2MguGMydHvfA-1
From: Han Han
To: libvir-list@redhat.com
Subject: [PATCH 3/5] qemu: Implement rbd namespace attribute
Date: Wed, 8 Apr 2020 17:04:46 +0800
Message-Id: <20200408090448.156331-4-hhan@redhat.com>
In-Reply-To: <20200408090448.156331-1-hhan@redhat.com>
References: <20200408090448.156331-1-hhan@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-loop: libvir-list@redhat.com
Cc: pkrempa@redhat.com, Han Han
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"
Ceph Nautilus supports separate image namespaces within a pool for
tenant isolation and QEMU added it as a rbd blockdev options from 5.0.0.
This optional attribute is used to access a image with namespace.
Add unit tests for this attribute.
https://bugzilla.redhat.com/show_bug.cgi?id=3D1816909
Signed-off-by: Han Han
---
src/qemu/qemu_block.c | 1 +
src/qemu/qemu_command.c | 14 ++++++-
...k-network-rbd-namespace.x86_64-latest.args | 41 +++++++++++++++++++
.../disk-network-rbd-namespace.xml | 33 +++++++++++++++
tests/qemuxml2argvtest.c | 1 +
...sk-network-rbd-namespace.x86_64-latest.xml | 41 +++++++++++++++++++
tests/qemuxml2xmltest.c | 1 +
7 files changed, 131 insertions(+), 1 deletion(-)
create mode 100644 tests/qemuxml2argvdata/disk-network-rbd-namespace.x86_6=
4-latest.args
create mode 100644 tests/qemuxml2argvdata/disk-network-rbd-namespace.xml
create mode 100644 tests/qemuxml2xmloutdata/disk-network-rbd-namespace.x86=
_64-latest.xml
diff --git a/src/qemu/qemu_block.c b/src/qemu/qemu_block.c
index d32277d7..8cc007ac 100644
--- a/src/qemu/qemu_block.c
+++ b/src/qemu/qemu_block.c
@@ -872,6 +872,7 @@ qemuBlockStorageSourceGetRBDProps(virStorageSourcePtr s=
rc,
"s:pool", src->volume,
"s:image", src->path,
"S:snapshot", src->snapshot,
+ "S:namespace", src->namespace,
"S:conf", src->configFile,
"A:server", &servers,
"S:user", username,
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 988d38e4..32b6bb4d 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -1047,7 +1047,12 @@ qemuBuildNetworkDriveStr(virStorageSourcePtr src,
return NULL;
}
=20
- virBufferStrcat(&buf, "rbd:", src->volume, "/", src->path, NUL=
L);
+ virBufferStrcat(&buf, "rbd:", src->volume, "/", NULL);
+ /* The filename of image with namespace: rbd:POOL/NAMESPACE/IM=
AGE... */
+ if (src->namespace)
+ virBufferStrcat(&buf, src->namespace, "/", NULL);
+
+ virBufferStrcat(&buf, src->path, NULL);
=20
if (src->snapshot)
virBufferEscape(&buf, '\\', ":", "@%s", src->snapshot);
@@ -1425,6 +1430,13 @@ qemuCheckDiskConfig(virDomainDiskDefPtr disk,
_("detect_zeroes is not supported by this QEMU =
binary"));
return -1;
}
+
+ if (disk->src->namespace &&
+ !virQEMUCapsGet(qemuCaps, QEMU_CAPS_RBD_NAMESPACE)) {
+ virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
+ _("rbd namespace is not supported by this QEMU =
binary"));
+ return -1;
+ }
}
=20
if (disk->serial &&
diff --git a/tests/qemuxml2argvdata/disk-network-rbd-namespace.x86_64-lates=
t.args b/tests/qemuxml2argvdata/disk-network-rbd-namespace.x86_64-latest.ar=
gs
new file mode 100644
index 00000000..138b7538
--- /dev/null
+++ b/tests/qemuxml2argvdata/disk-network-rbd-namespace.x86_64-latest.args
@@ -0,0 +1,41 @@
+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-x86_64 \
+-name guest=3DQEMUGuest1,debug-threads=3Don \
+-S \
+-object secret,id=3DmasterKey0,format=3Draw,\
+file=3D/tmp/lib/domain--1-QEMUGuest1/master-key.aes \
+-machine pc,accel=3Dtcg,usb=3Doff,dump-guest-core=3Doff \
+-cpu qemu64 \
+-m 214 \
+-overcommit mem-lock=3Doff \
+-smp 1,sockets=3D1,cores=3D1,threads=3D1 \
+-uuid c7a5fdbd-edaf-9455-926a-d65c16db1809 \
+-display none \
+-no-user-config \
+-nodefaults \
+-chardev socket,id=3Dcharmonitor,fd=3D1729,server,nowait \
+-mon chardev=3Dcharmonitor,id=3Dmonitor,mode=3Dcontrol \
+-rtc base=3Dutc \
+-no-shutdown \
+-no-acpi \
+-boot strict=3Don \
+-device piix3-usb-uhci,id=3Dusb,bus=3Dpci.0,addr=3D0x1.0x2 \
+-blockdev '{"driver":"rbd","pool":"pool","image":"image","namespace":"ns",\
+"server":[{"host":"mon1.example.org","port":"6321"},{"host":"mon2.example.=
org",\
+"port":"6322"},{"host":"mon3.example.org","port":"6322"}],\
+"node-name":"libvirt-1-storage","auto-read-only":true,"discard":"unmap"}' \
+-blockdev '{"node-name":"libvirt-1-format","read-only":false,"driver":"raw=
",\
+"file":"libvirt-1-storage"}' \
+-device virtio-blk-pci,scsi=3Doff,bus=3Dpci.0,addr=3D0x2,drive=3Dlibvirt-1=
-format,\
+id=3Dvirtio-disk0,bootindex=3D1 \
+-sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,\
+resourcecontrol=3Ddeny \
+-msg timestamp=3Don
diff --git a/tests/qemuxml2argvdata/disk-network-rbd-namespace.xml b/tests/=
qemuxml2argvdata/disk-network-rbd-namespace.xml
new file mode 100644
index 00000000..8b526c4a
--- /dev/null
+++ b/tests/qemuxml2argvdata/disk-network-rbd-namespace.xml
@@ -0,0 +1,33 @@
+
+ QEMUGuest1
+ c7a5fdbd-edaf-9455-926a-d65c16db1809
+ 219136
+ 219136
+ 1
+
+ hvm
+
+
+
+ destroy
+ restart
+ destroy
+
+ /usr/bin/qemu-system-x86_64
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/qemuxml2argvtest.c b/tests/qemuxml2argvtest.c
index fdeb3c2e..aaa32da6 100644
--- a/tests/qemuxml2argvtest.c
+++ b/tests/qemuxml2argvtest.c
@@ -1081,6 +1081,7 @@ mymain(void)
DO_TEST_CAPS_VER("disk-network-rbd", "2.5.0");
DO_TEST_CAPS_VER("disk-network-rbd", "2.12.0");
DO_TEST_CAPS_LATEST("disk-network-rbd");
+ DO_TEST_CAPS_LATEST("disk-network-rbd-namespace");
DO_TEST_FAILURE("disk-network-rbd-no-colon", NONE);
DO_TEST("disk-network-sheepdog", NONE);
DO_TEST_CAPS_VER("disk-network-sheepdog", "2.12.0");
diff --git a/tests/qemuxml2xmloutdata/disk-network-rbd-namespace.x86_64-lat=
est.xml b/tests/qemuxml2xmloutdata/disk-network-rbd-namespace.x86_64-latest=
.xml
new file mode 100644
index 00000000..2166696c
--- /dev/null
+++ b/tests/qemuxml2xmloutdata/disk-network-rbd-namespace.x86_64-latest.xml
@@ -0,0 +1,41 @@
+
+ QEMUGuest1
+ c7a5fdbd-edaf-9455-926a-d65c16db1809
+ 219136
+ 219136
+ 1
+
+ hvm
+
+
+
+ qemu64
+
+
+ destroy
+ restart
+ destroy
+
+ /usr/bin/qemu-system-x86_64
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/tests/qemuxml2xmltest.c b/tests/qemuxml2xmltest.c
index b4c83fcc..6e8a8196 100644
--- a/tests/qemuxml2xmltest.c
+++ b/tests/qemuxml2xmltest.c
@@ -333,6 +333,7 @@ mymain(void)
DO_TEST("disk-network-iscsi", QEMU_CAPS_VIRTIO_SCSI);
DO_TEST("disk-network-gluster", NONE);
DO_TEST("disk-network-rbd", NONE);
+ DO_TEST_CAPS_LATEST("disk-network-rbd-namespace");
DO_TEST("disk-network-source-auth", NONE);
DO_TEST("disk-network-sheepdog", NONE);
DO_TEST("disk-network-vxhs", NONE);
--=20
2.25.0
From nobody Thu May 16 18:54:43 2024
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=pass(p=none dis=none) header.from=redhat.com
ARC-Seal: i=1; a=rsa-sha256; t=1586336728; cv=none;
d=zohomail.com; s=zohoarc;
b=QgK7gOaRqUnMeDFjKCjefy4/X0f0RniuSFZMzHOzDvv6nrSr27bmAWslmvaXsD4Q2il2gBUiB6YHA1VMekUYuLLcT7lccHblroRtL+tb2+94x4TS8nPt4qDWISaIhv2Sxaf0PhyKetKgWR8Z7IKGPfd1musTdUHNnqCyfzRv5b0=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1586336728;
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=/tVJm4SfPgBryGb9j8O9CoDH0S9RVrlTUvT0hOFsaz8=;
b=iJBUWZ7kAajjwmNRg/P+MmFGdytiSvFYzUD0ZaTn2eETnBt1ur1c4NHR8CPonRUwAwYDrmkDatSqRjTUFBuxVtvmJOuxPLlI9OawV7r5EHi0hHYcBtfzGkocfd78EenVV1j9ce1PE73fWSeS0WIlJDwLp/RCxr9QMv6O4dD1vQM=
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=pass 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 1586336728929109.00806409577888;
Wed, 8 Apr 2020 02:05:28 -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-413-aQMy0tyrO0e_LxdoR6V_og-1; Wed, 08 Apr 2020 05:05:24 -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 DF3AC18AB2C4;
Wed, 8 Apr 2020 09:05:18 +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 AF5A61001F43;
Wed, 8 Apr 2020 09:05:18 +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 4F2BB93A7D;
Wed, 8 Apr 2020 09:05:18 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
[10.5.11.15])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id 03895F7d025184 for ;
Wed, 8 Apr 2020 05:05:15 -0400
Received: by smtp.corp.redhat.com (Postfix)
id C49C2C0D95; Wed, 8 Apr 2020 09:05:15 +0000 (UTC)
Received: from localhost.localdomain.com (ovpn-13-41.pek2.redhat.com
[10.72.13.41])
by smtp.corp.redhat.com (Postfix) with ESMTP id 6C4005E010;
Wed, 8 Apr 2020 09:05:14 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1586336726;
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=/tVJm4SfPgBryGb9j8O9CoDH0S9RVrlTUvT0hOFsaz8=;
b=ae8PAbCq2oh8lbDaSlBtVeLvS0HqNK9xzZC9zB4fxedb6UQ1fTN1hjPL3cAIiCyZxBE3kJ
NN2iBruRffPtsBckFSUAzu3/p6lLgoOpi9IoiPvmRW/jrADxTbGmRSGPPCBXiNycOVBF0y
kRrMQosXA5LwfBwY1Lbd4omSydL8VtA=
X-MC-Unique: aQMy0tyrO0e_LxdoR6V_og-1
From: Han Han
To: libvir-list@redhat.com
Subject: [PATCH 4/5] doc: rng schemas and html doc for rbd namespace attribute
Date: Wed, 8 Apr 2020 17:04:47 +0800
Message-Id: <20200408090448.156331-5-hhan@redhat.com>
In-Reply-To: <20200408090448.156331-1-hhan@redhat.com>
References: <20200408090448.156331-1-hhan@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-loop: libvir-list@redhat.com
Cc: pkrempa@redhat.com, Han Han
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
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: Han Han
---
docs/formatdomain.html.in | 5 +++++
docs/schemas/domaincommon.rng | 3 +++
2 files changed, 8 insertions(+)
diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index d56600dc..06e1a7ee 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -3118,6 +3118,11 @@
(Since 6.2.0)
=20
+ For protocol rbd
, an optional attribute
+ namespace
specifies the namespace of a rbd pool.
+ (Since 6.3.0 and QEMU 5.0.0)
+
+
For "iscsi" (since 1.0.4), t=
he
name
attribute may include a logical unit numbe=
r,
separated from the target's name by a slash (e.g.,
diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index dcf2e09d..294ade34 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -1762,6 +1762,9 @@
+
+
+
[
]
--=20
2.25.0
From nobody Thu May 16 18:54:43 2024
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=pass(p=none dis=none) header.from=redhat.com
ARC-Seal: i=1; a=rsa-sha256; t=1586336742; cv=none;
d=zohomail.com; s=zohoarc;
b=IdW/9+eFxWCOvC95fQUmRnAdpvcy1TaKduSzcEQtbNtqWH55g6c+h63+tB2Gb5yvYq2fu6b2iUmswJ6VSkV4RAiwr71bzTfE26iOBwIJkgusrOjkC7MBECOj1w/7o1V9qCQsdWtzkr9Gke599ZaG1nr+M9xaDRjPpJHZn0Bz6y0=
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com;
s=zohoarc;
t=1586336742;
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=5h5mCitjBtKmcylt5ZBvoT9FfSSdqF0IS6Yjxc7DBz0=;
b=UVHtDJXC5njaLgYvUFD7Tdp4XcbdbteaYqtPoNAvBnXQ6apE06vuUew2UJgzhZzNrMAy55Ju0c4AkU50OydWBOMZABxPwl3y7le4BspeExDsf3YTaULVSrewQMrB3DfEGkqBuxC6utaJNk2o17/DzGbsMzvoUHPE7MCIrX7yFGU=
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=pass 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 1586336742943796.7063440743884;
Wed, 8 Apr 2020 02:05:42 -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-146-L21HCxmENsiL4p7Ex6efGA-1; Wed, 08 Apr 2020 05:05:39 -0400
Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com
[10.5.11.11])
(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
(No client certificate requested)
by mimecast-mx01.redhat.com (Postfix) with ESMTPS id ED3CB107ACC9;
Wed, 8 Apr 2020 09:05:33 +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 BA0691195A0;
Wed, 8 Apr 2020 09:05:33 +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 6F8054E448;
Wed, 8 Apr 2020 09:05:33 +0000 (UTC)
Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com
[10.5.11.15])
by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP
id 03895H0n025198 for ;
Wed, 8 Apr 2020 05:05:17 -0400
Received: by smtp.corp.redhat.com (Postfix)
id A2A55C0D93; Wed, 8 Apr 2020 09:05:17 +0000 (UTC)
Received: from localhost.localdomain.com (ovpn-13-41.pek2.redhat.com
[10.72.13.41])
by smtp.corp.redhat.com (Postfix) with ESMTP id 4DDFFC0D99;
Wed, 8 Apr 2020 09:05:16 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1586336741;
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=5h5mCitjBtKmcylt5ZBvoT9FfSSdqF0IS6Yjxc7DBz0=;
b=HyG0IgrRyMPYqxTKgG2UhhcNqzwk9hsKrBJla9NZvB/3qYhxJTyJ+8CKmFl+J2oziUT/Na
wpeA4FcW3xljSgaV5Fb03LGOioj6A74dGPz1HvGHiXbdvJvfcx+L+CMCUeYoe772QEbnu5
bW+af1Zb1ZQm1BNRylXFsbPy9DF3LLY=
X-MC-Unique: L21HCxmENsiL4p7Ex6efGA-1
From: Han Han
To: libvir-list@redhat.com
Subject: [PATCH 5/5] news: qemu: Support rbd namespace
Date: Wed, 8 Apr 2020 17:04:48 +0800
Message-Id: <20200408090448.156331-6-hhan@redhat.com>
In-Reply-To: <20200408090448.156331-1-hhan@redhat.com>
References: <20200408090448.156331-1-hhan@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15
X-loop: libvir-list@redhat.com
Cc: pkrempa@redhat.com, Han Han
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.11
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: Han Han
---
docs/news.xml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/docs/news.xml b/docs/news.xml
index 0d3f3386..236a9bd6 100644
--- a/docs/news.xml
+++ b/docs/news.xml
@@ -44,6 +44,15 @@
+
+
+ qemu: Support rbd namespace
+
+
+ The image namespaces within a pool, introduced from Ceph Nautilu=
s, is
+ supported since QEMU 5.0.0. Implement this into libvirt.
+
+
--=20
2.25.0