From nobody Thu Nov 6 08:26:58 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (208.118.235.17 [208.118.235.17]) by mx.zohomail.com with SMTPS id 153985331664986.31534380062692; Thu, 18 Oct 2018 02:01:56 -0700 (PDT) Received: from localhost ([::1]:41156 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gD4Bd-0001zA-7G for importer@patchew.org; Thu, 18 Oct 2018 05:01:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gD49c-00010r-0p for qemu-devel@nongnu.org; Thu, 18 Oct 2018 04:59:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gD49Y-0008DQ-Es for qemu-devel@nongnu.org; Thu, 18 Oct 2018 04:59:39 -0400 Received: from fanzine.igalia.com ([91.117.99.155]:55296) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gD49U-0007jj-IT; Thu, 18 Oct 2018 04:59:34 -0400 Received: from [194.100.51.2] (helo=perseus.local) by fanzine.igalia.com with esmtpsa (Cipher TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) id 1gD49O-0002e8-Jk; Thu, 18 Oct 2018 10:59:26 +0200 Received: from berto by perseus.local with local (Exim 4.89) (envelope-from ) id 1gD495-00046d-Ah; Thu, 18 Oct 2018 11:59:07 +0300 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=References:In-Reply-To:References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From; bh=Y/DuBY1ANCcKjZynltmx4kyk6CnpLbHq+T8a2gLIOIY=; b=XZ59+kGXKHD3ZyLFOPPVqbqqp/l7RK7/1CCjVYMs6R+a9crN9863oiQgIO+fi6nB6pGUAExhPtLoqUsmzNLFMdal82/V9vuiQ2CW2cPDVpS682P5WDNIKcupsfNZ/lCYjw4eaybFx/a2jQW4B1r+H7wugbUPDCYfJ7mV7ppkAkUZYZzSuuKsU+olA70NuR1AUzm8CoepKkhYub65GZDTAIeH5WuHG0sOfUPYaQtbEB3NKc2/AHduWLqX2o2j2Uj89Fyz0oarLBWm41aRPKvJ17lkjFYcIKMaCEAa2NXEkNv4SRtfUHoo7125+Xp6AXpNiw+yzxaSfGV7kbV1M7v6Lg==; From: Alberto Garcia To: qemu-devel@nongnu.org Date: Thu, 18 Oct 2018 11:59:04 +0300 Message-Id: X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] [fuzzy] X-Received-From: 91.117.99.155 Subject: [Qemu-devel] [PATCH 2/2] iotest: Test x-blockdev-change on a Quorum X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Kevin Wolf , Alberto Garcia , qemu-block@nongnu.org, Max Reitz Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" This patch tests that you can add and remove drives from a Quorum using the x-blockdev-change command. Signed-off-by: Alberto Garcia --- tests/qemu-iotests/081 | 86 ++++++++++++++++++++++++++++++++++++++++++= ++++ tests/qemu-iotests/081.out | 54 +++++++++++++++++++++++++++++ 2 files changed, 140 insertions(+) diff --git a/tests/qemu-iotests/081 b/tests/qemu-iotests/081 index 0ea010afbf..7a441f9300 100755 --- a/tests/qemu-iotests/081 +++ b/tests/qemu-iotests/081 @@ -198,6 +198,92 @@ quorum=3D"$quorum,file.children.2.driver=3Draw" =20 $QEMU_IO -c "open -o $quorum" | _filter_qemu_io =20 +echo +echo "=3D=3D dinamically adding a child to a quorum =3D=3D" + +for verify in false true; do + run_qemu <