From nobody Sun Feb 8 15:44:23 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1728653713298807.6221628611606; Fri, 11 Oct 2024 06:35:13 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 32ACE135F; Fri, 11 Oct 2024 09:35:12 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id B679512E4; Fri, 11 Oct 2024 09:33:16 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 0122D124F; Fri, 11 Oct 2024 09:33:12 -0400 (EDT) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 5CD2F1210 for ; Fri, 11 Oct 2024 09:33:10 -0400 (EDT) Received: from mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-199-ejD3AnJKNe6JKCUq1nUGUg-1; Fri, 11 Oct 2024 09:33:08 -0400 Received: from mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.40]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 9AC65195608B for ; Fri, 11 Oct 2024 13:33:07 +0000 (UTC) Received: from speedmetal.lan (unknown [10.45.242.12]) by mx-prod-int-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id 7827919560AA for ; Fri, 11 Oct 2024 13:33:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_HELO_NONE,WEIRD_PORT autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1728653590; h=from:from: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; bh=Mp36aH8I/xFbIXAXmg0XOcxo/Sv9SdeXRvgHBT2rrNM=; b=GyFtsmTYkwbplh2/gsjCYyfE0PjPyPsi6LtleuOnx5BsEDeNZ/OCBBCkPdkBCfosIUY9uo Bb3ZENlo87dLrGl26BXRkGif2tY8rpOy3d+MfaaQXebt2pMdLJR5+yUAKZPZBI2V0Wtc/l btMDy2drmQvlsgnXe861/1Kv357zJt0= X-MC-Unique: ejD3AnJKNe6JKCUq1nUGUg-1 From: Peter Krempa To: devel@lists.libvirt.org Subject: [PATCH 01/10] qemublocktest: Convert all 'gluster' instances to 'nbd' in 'xml2json' cases Date: Fri, 11 Oct 2024 15:32:54 +0200 Message-ID: In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.0 on 10.30.177.40 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable Message-ID-Hash: CZGTEYZZXNBYLZB37WTSGRYLL245X73Q X-Message-ID-Hash: CZGTEYZZXNBYLZB37WTSGRYLL245X73Q X-MailFrom: pkrempa@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; suspicious-header X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1728653713933116600 Content-Type: text/plain; charset="utf-8" Gluster will be deprecated in the upcoming qemu version thus we need to replace the network protocol by something which will stay supported so that we can keep the tests around. Convert all cases referencing 'gluster' to 'nbd'. Signed-off-by: Peter Krempa --- ...le-backing_basic-aio_io_uring-srconly.json | 19 ++++++++----------- .../file-backing_basic-aio_io_uring.json | 17 +++++++---------- .../file-backing_basic-aio_io_uring.xml | 2 +- ...ile-backing_basic-aio_threads-srconly.json | 19 ++++++++----------- .../file-backing_basic-aio_threads.json | 17 +++++++---------- .../file-backing_basic-aio_threads.xml | 2 +- ...acking_basic-cache-directsync-srconly.json | 19 ++++++++----------- .../file-backing_basic-cache-directsync.json | 17 +++++++---------- .../file-backing_basic-cache-directsync.xml | 2 +- ...file-backing_basic-cache-none-srconly.json | 19 ++++++++----------- .../file-backing_basic-cache-none.json | 17 +++++++---------- .../file-backing_basic-cache-none.xml | 2 +- ...le-backing_basic-cache-unsafe-srconly.json | 19 ++++++++----------- .../file-backing_basic-cache-unsafe.json | 17 +++++++---------- .../file-backing_basic-cache-unsafe.xml | 2 +- ...backing_basic-cache-writeback-srconly.json | 19 ++++++++----------- .../file-backing_basic-cache-writeback.json | 17 +++++++---------- .../file-backing_basic-cache-writeback.xml | 2 +- ...king_basic-cache-writethrough-srconly.json | 19 ++++++++----------- ...file-backing_basic-cache-writethrough.json | 17 +++++++---------- .../file-backing_basic-cache-writethrough.xml | 2 +- .../file-backing_basic-detect-srconly.json | 19 ++++++++----------- .../xml2json/file-backing_basic-detect.json | 17 +++++++---------- .../xml2json/file-backing_basic-detect.xml | 2 +- ...le-backing_basic-unmap-detect-srconly.json | 19 ++++++++----------- .../file-backing_basic-unmap-detect.json | 17 +++++++---------- .../file-backing_basic-unmap-detect.xml | 2 +- ...le-backing_basic-unmap-ignore-srconly.json | 19 ++++++++----------- .../file-backing_basic-unmap-ignore.json | 17 +++++++---------- .../file-backing_basic-unmap-ignore.xml | 2 +- .../file-backing_basic-unmap-srconly.json | 19 ++++++++----------- .../xml2json/file-backing_basic-unmap.json | 17 +++++++---------- .../xml2json/file-backing_basic-unmap.xml | 2 +- 33 files changed, 176 insertions(+), 242 deletions(-) diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uri= ng-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_i= o_uring-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring-srco= nly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring-srco= nly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uri= ng.json b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.= json index f510c43edb..b32e2181dc 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.json @@ -36,16 +36,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap" diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uri= ng.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.x= ml index 610c091f3e..b5a868113b 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_io_uring.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_thread= s-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_th= reads-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads-srcon= ly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads-srcon= ly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_thread= s.json b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads.js= on index e77421d372..62189e7ea4 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads.json @@ -36,16 +36,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap" diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_thread= s.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads.xml index ad84fab720..dc8ace1b8a 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-aio_threads.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-dire= ctsync-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-c= ache-directsync-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-directsync-= srconly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-directsync-= srconly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-dire= ctsync.json b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-dir= ectsync.json index 7a8d0686f6..caf8928d37 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-directsync.= json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-directsync.= json @@ -54,16 +54,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap", diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-dire= ctsync.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-dire= ctsync.xml index cf4197ea86..d776061364 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-directsync.= xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-directsync.= xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none= -srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-n= one-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none-srconl= y.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none-srconl= y.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none= .json b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none.json index 7a8d0686f6..caf8928d37 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none.json @@ -54,16 +54,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap", diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none= .xml b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none.xml index 240afa85d2..308f020888 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-none.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsa= fe-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-cache= -unsafe-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe-srco= nly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe-srco= nly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsa= fe.json b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe.= json index 15c8293f63..58a83ad7cf 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe.json @@ -54,16 +54,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap", diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsa= fe.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe.x= ml index e18d33ce3c..cfc5225acb 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-unsafe.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writ= eback-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-ca= che-writeback-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writeback-s= rconly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writeback-s= rconly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writ= eback.json b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writ= eback.json index 5918eed73f..5124b0328c 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writeback.j= son +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writeback.j= son @@ -54,16 +54,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap", diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writ= eback.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-write= back.xml index 7040388040..407efe4b38 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writeback.x= ml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writeback.x= ml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writ= ethrough-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic= -cache-writethrough-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writethroug= h-srconly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writethroug= h-srconly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writ= ethrough.json b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-w= ritethrough.json index 5918eed73f..5124b0328c 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writethroug= h.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writethroug= h.json @@ -54,16 +54,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap", diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writ= ethrough.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-wr= itethrough.xml index d2fe1b780b..0b60a4987a 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writethroug= h.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-cache-writethroug= h.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-detect-src= only.json b/tests/qemublocktestdata/xml2json/file-backing_basic-detect-srco= nly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-detect-srconly.js= on +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-detect-srconly.js= on @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-detect.jso= n b/tests/qemublocktestdata/xml2json/file-backing_basic-detect.json index 6be2df9d1d..c27233269b 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-detect.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-detect.json @@ -35,16 +35,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap" diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-detect.xml= b/tests/qemublocktestdata/xml2json/file-backing_basic-detect.xml index eaf89d316a..5502f7d612 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-detect.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-detect.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-dete= ct-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap= -detect-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect-srco= nly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect-srco= nly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-dete= ct.json b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect.= json index 27e6e5ab60..1ec0b8fffc 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect.json @@ -38,16 +38,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap" diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-dete= ct.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect.x= ml index 4638a78541..d783f8c583 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-detect.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-igno= re-srconly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap= -ignore-srconly.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore-srco= nly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore-srco= nly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-igno= re.json b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore.= json index 63c5cd2799..315a17323a 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore.json @@ -38,16 +38,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap" diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-igno= re.xml b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore.x= ml index b2d599fc6c..760440d16c 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-ignore.xml @@ -20,7 +20,7 @@ - + diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-srco= nly.json b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-srconl= y.json index 65a3773b97..8549314e92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-srconly.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap-srconly.json @@ -19,19 +19,16 @@ ( source only properties: { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ] + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c" } backing store string: - gluster://test.org:24007/images/c + nbd://test.org:10809/images/c ) ( source only properties: diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.json= b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.json index ac952c8acd..8557d4de92 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.json +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.json @@ -37,16 +37,13 @@ "backing": "node-d-f" } { - "driver": "gluster", - "volume": "images", - "path": "c", - "server": [ - { - "type": "inet", - "host": "test.org", - "port": "24007" - } - ], + "driver": "nbd", + "server": { + "type": "inet", + "host": "test.org", + "port": "10809" + }, + "export": "images/c", "node-name": "node-c-s", "auto-read-only": true, "discard": "unmap" diff --git a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.xml = b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.xml index 68484991c1..666b87b94f 100644 --- a/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.xml +++ b/tests/qemublocktestdata/xml2json/file-backing_basic-unmap.xml @@ -20,7 +20,7 @@ - + --=20 2.46.2