From nobody Wed Dec 17 05:44:05 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1633700218; cv=none; d=zohomail.com; s=zohoarc; b=kTMEeYsLwA1qwBAjWXLmKF5dKaz5jiQJ+oS2Psx9bOu8TCaJwEfK7a9N74q7WR/ihV4RFUva9Ai+/dLj9BZ9a43BP17ywuTKu1q4epq+dvUkfuL9T1CQPFOQ0sgP0FlJzvkFXtM45RLPe3iX/4cQ0wNskUWBGmgRL7C3KEKh1tQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1633700218; 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=codMzKXiJWIIVqlPlfb1TvkiHXqb8YDcX0IZ7i+za1c=; b=R9caGV8GuR2imSiYM2DNKzoZLtwdxUg8aNoK4KcM2Z3MBurg1n9yMrRzXiQ2lS7FGyBc45nHOVX/3meJKn/GZBcSWsMYTFiJgx121MgFMB/nfeoo2pa7U6+QJOXkPTrS3mEMTX+2NmrR0vaLvjzt5zu0dsFqRlwabeD0xhbosoc= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1633700218658606.751324244845; Fri, 8 Oct 2021 06:36:58 -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-448-W3nTdktuNleP85K2VmkVBA-1; Fri, 08 Oct 2021 09:36:55 -0400 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 1C9DBB0025; Fri, 8 Oct 2021 13:35: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 EDC445C22B; Fri, 8 Oct 2021 13:35:20 +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 B99FF4EA2A; Fri, 8 Oct 2021 13:35:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 198DZIa5026087 for ; Fri, 8 Oct 2021 09:35:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id E164C196E6; Fri, 8 Oct 2021 13:35:18 +0000 (UTC) Received: from merkur.redhat.com (unknown [10.39.193.204]) by smtp.corp.redhat.com (Postfix) with ESMTP id 99B4E19729; Fri, 8 Oct 2021 13:35:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1633700217; 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=codMzKXiJWIIVqlPlfb1TvkiHXqb8YDcX0IZ7i+za1c=; b=Ws2EtOKlFT1TZIja+uZ5tVMM/Kad+ydoSAnBlRo1vMgCtwLt91gsJ5OdV5M1OSpmh/A22/ zNkypEjhgqrr+ccqFjsgABbxRq5V+itR6Oo7IZsdljeoZPeDxpbUdYoLjj+sfIUKS6+zGU 3DNg3fv1+05DePEzRJGoBm1Yiut1tRE= X-MC-Unique: W3nTdktuNleP85K2VmkVBA-1 From: Kevin Wolf To: qemu-devel@nongnu.org Subject: [PATCH v2 05/15] iotests/245: Fix type for iothread property Date: Fri, 8 Oct 2021 15:34:32 +0200 Message-Id: <20211008133442.141332-6-kwolf@redhat.com> In-Reply-To: <20211008133442.141332-1-kwolf@redhat.com> References: <20211008133442.141332-1-kwolf@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com Cc: kwolf@redhat.com, damien.hedde@greensocs.com, pkrempa@redhat.com, ehabkost@redhat.com, qemu-block@nongnu.org, mst@redhat.com, libvir-list@redhat.com, jasowang@redhat.com, quintela@redhat.com, armbru@redhat.com, vsementsov@virtuozzo.com, lvivier@redhat.com, its@irrelevant.dk, pbonzini@redhat.com, eblake@redhat.com 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.16 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1633700220291100001 Content-Type: text/plain; charset="utf-8" iothread is a string property, so None (=3D JSON null) is not a valid value for it. Pass the empty string instead to get the default iothread. Signed-off-by: Kevin Wolf Reviewed-by: Vladimir Sementsov-Ogievskiy --- tests/qemu-iotests/245 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/qemu-iotests/245 b/tests/qemu-iotests/245 index bf8261eec0..9b12b42eed 100755 --- a/tests/qemu-iotests/245 +++ b/tests/qemu-iotests/245 @@ -1189,10 +1189,10 @@ class TestBlockdevReopen(iotests.QMPTestCase): self.run_test_iothreads('iothread0', 'iothread0') =20 def test_iothreads_switch_backing(self): - self.run_test_iothreads('iothread0', None) + self.run_test_iothreads('iothread0', '') =20 def test_iothreads_switch_overlay(self): - self.run_test_iothreads(None, 'iothread0') + self.run_test_iothreads('', 'iothread0') =20 if __name__ =3D=3D '__main__': iotests.activate_logging() --=20 2.31.1