From patchwork Thu Oct 27 20:23:32 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Annie Li X-Patchwork-Id: 13022716 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 9AFA1FA3740 for ; Thu, 27 Oct 2022 20:25:40 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo9QO-00054Y-Mo; Thu, 27 Oct 2022 16:24:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo9QE-00053q-Vx for qemu-devel@nongnu.org; Thu, 27 Oct 2022 16:24:15 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo9QB-0003vd-Em for qemu-devel@nongnu.org; Thu, 27 Oct 2022 16:24:14 -0400 Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29RHnSuS006974 for ; Thu, 27 Oct 2022 20:24:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=gkxFQmV6AYLJf1nBG330M9HTxwpKrGFNN8tdcaP+/pE=; b=Rv0kc7NGtqmKaGtQuhCSMH9Ow6q5D0oYEAznGehsSomXm5kGaByIrh3yelB6cUoSBDdE EAliLT/UNRz+3ankT0Wds705szyfTiKVqsfDwepSI6puX/DFhvwf7srzxMVNJuANeo6W 9FY18EEe4wdvkPKwiytwh82SPcAVQ75opOtJcnW2RM3oTaFAlRBPbsZVlBMRH8DSIjoW 55B6KR3EHLTGZIzd+2FbkElujuoLzCrtFUXs6IHOuwBJP89FZZ4bnff4eG0INnv0RiGw SVMiHsp6jVE67E1CEYsPvxJYQ2/76Eg252d97bUGFF/EdChXDNhkKFlv5R4ozlO0zlho 3g== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3kfb0aka8v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 27 Oct 2022 20:24:02 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 29RIfT8w011664 for ; Thu, 27 Oct 2022 20:24:01 GMT Received: from nam02-sn1-obe.outbound.protection.outlook.com (mail-sn1anam02lp2047.outbound.protection.outlook.com [104.47.57.47]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3kfagrckx9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 27 Oct 2022 20:24:01 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QJ9zDfPmwuekhtQJ9/5NFOB/MIGWYWVHMU8c4ldunHsC9RgPi7QRsHi6jAFB0+UQe0kSyXgs6HQoN/IeGOJTjtJVaPwvN8bG+RBpAZ/x6ygRJ4aFG+KYexut9lW0ks95cXvjRkUQsofuuCZjH/FkxSvVWjFoxtLmyD2fiTe4WncPW477lQ1RGnhUzSSqjJGKwJGtGNkUesgKZRhjYsL3M+f8SJfTbJL7/HEhT+O0+6aejgaGLo3zjBHYzJRFSjkSa4zjtfvGHHYs2UGobPGcb8ekkGZGfISxuSzC5GZpupWlcLFC0FX3WdZjm6q90dyoEmxdA99BAB/oBxOnyGQ+DA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=gkxFQmV6AYLJf1nBG330M9HTxwpKrGFNN8tdcaP+/pE=; b=Ief1EYztCoG50skSD46yUusgSR41IccaX3kiPsYtVwFjnNlDsFZY5Jerif+ncgSj/3u7+fjoQd7FHikr6os8aUxyQQZQaXKl20GBGRVjyGisVrgUQpOvlSq08VQVGdm2VYi17yq+jzOWlTcGBvAHY2j9raKkrsFGRfDfCw8V4lJo/BWXQsTtCzXCH5vsv9pmiZlF4+kguI2Paf0pSCewccIfAu1y6abKUBrm/kk4enV7qd+HYilk4C/zVUzBMhOvvJ20Ztz2lKsJyeoX6UbKir8nuLYlb7WdzIyWKX6Q/PvBqPQvraMjIFNr5MLYUIAxMVg82opJq1f275XbU247sQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gkxFQmV6AYLJf1nBG330M9HTxwpKrGFNN8tdcaP+/pE=; b=PS8S8PgSQc18+OKW40Q1+NoqwrH7kHLfvefJc6Zm+vawjnqw5dxktfNwuoAeRXd1KioQb4BhsTWvAHOJZ07jZPd1e+2UKP/1vbqNQlrRmTQVLpwYIP2wVw1+iUEsUDB+IOtxGnCp5bewVFOWGvKS8FDSRytn8S2rKff+Jd7q8Qs= Received: from DM6PR10MB2523.namprd10.prod.outlook.com (2603:10b6:5:b2::27) by PH7PR10MB6081.namprd10.prod.outlook.com (2603:10b6:510:1fb::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.33; Thu, 27 Oct 2022 20:23:59 +0000 Received: from DM6PR10MB2523.namprd10.prod.outlook.com ([fe80::93cb:bdb:4f3c:de66]) by DM6PR10MB2523.namprd10.prod.outlook.com ([fe80::93cb:bdb:4f3c:de66%7]) with mapi id 15.20.5769.014; Thu, 27 Oct 2022 20:23:59 +0000 From: Annie Li To: qemu-devel@nongnu.org Cc: annie.li@oracle.com, mark.kanda@oracle.com Subject: [PATCH 1/2] block: Set the name of BlockBackend if possible Date: Thu, 27 Oct 2022 16:23:32 -0400 Message-Id: <20221027202332.3229-1-annie.li@oracle.com> X-Mailer: git-send-email 2.34.3 X-ClientProxiedBy: MN2PR15CA0022.namprd15.prod.outlook.com (2603:10b6:208:1b4::35) To DM6PR10MB2523.namprd10.prod.outlook.com (2603:10b6:5:b2::27) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB2523:EE_|PH7PR10MB6081:EE_ X-MS-Office365-Filtering-Correlation-Id: c6e76781-f5d3-46e6-8d61-08dab8592e24 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yKhaRXAqqBU99JblksCumNTWYaVM4pOfDNr4VyjGNmpVU1e/toD4PumuhZbk2mYRWkDmfv93OqBw9nvLtJ52n19/Uzuwi/GyCvSDfjTKGCykjHUGS5zz05hqI44lYQS/CbDrGQpnynnFouEfsLtN2YVoeLTwWwLdnyS4u1JL6mjNl84pJ6bI6EFzl0LNHUWvGmUHr684jeJF8UckO5PiGsmBGJMvnBxolTigdl0PgLPTF1QKQsKXYI1Mj+I7rpRyoCgHkxNwe3iMUmrIhxdZQhyZFC/1qNbY7cTCAeYACHPwgo7D7eqOwF/N450GZqGRow1sMO/YY45NLMuOctYCElU2+yz5q0FcMoRBkWJ7u5cNqVBvV4O/UGPfnorDW5sB26xNL+MIAOTtmrxgxykZ+jSG+1eDyLHaQ7StPPFtk/9WoH3M+FRzoRNFoNNFx4Ng4oPj8q7iak0TqJNzSRm0QfJbyXVhvcsVBlLXk/DiwKBHI4/HnAhFR5XcNNWp5U+rQgRyIGk5qZAT+C4nY62pfxm4qbrgbcrGWKV4syfwFf4944lvWJ4ldHDnaP/VFk0ZmoG2jZjDTuXZi+JUnbQRya6ZY+CBBI+Lp1Hy8JTXg9+fBmcDmY7LEzSfO2sYA4wLjkdyxoL3y8psjNOi7IEYNuAyXQOR/YPDqjSeh0vGvWqOjEualVxIREWVMvsUwMa7258w+18JS3yMBwRaJCkfE+gvYl1yuSFJj+vm91iJX6c= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR10MB2523.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(366004)(396003)(376002)(346002)(136003)(39860400002)(451199015)(5660300002)(478600001)(6916009)(83380400001)(66556008)(38100700002)(2906002)(6486002)(36756003)(44832011)(4326008)(66946007)(41300700001)(8936002)(66476007)(8676002)(966005)(316002)(6512007)(2616005)(1076003)(186003)(6666004)(86362001)(26005)(107886003)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: q1+AP17p3WQoz6iD5p8oMBpUXKlt2pwC+NNWUhu2BpzOnqOEoDCWRthKKaqQ3bPMBl1LEmMk7zJRv1T2kIzlR8fbUaTdFHo9l14nNlHznArs+sgYNVn7KH7Fky6oeACJCr99QuDQUHvWpVEXXHjYqUGMFgFvGU41+52OJL/eouCU8poGTVrxF6CQsv77ovFw/8Rs1twL9J9Wka9jExsO6nM0s7J6cSF6jXErhdDjevepuSMRuQnhHYJQ9O2bk3+p/mvrVIImL+iXaaDmat6eOSL5GzekQ1ucmeVzw02v4Ox+9S25rAMXN1j4xleTgzMEGnrHHBxL7FtBoGNYdWttVkwRz7TX7Ne5BstniZkgKRdlf9JsGlugqXEs0m3dU5G8dfK8VqdDkiDU8tf3heC+HRAFkj/Lb7uxT/b3T6Gu2OKWVwe/rkGF2YxHl7rmVEhITKCQ+ErQAxszQ+tZHEVNWWgdmnngtah99gcH2z+D9j3HrXAmNUKEo7Cxa8mOK6m7v4CZGEQ3xvkSNHIVtPw4yw4+5UfYa1TH3IvEtPIbtQcs0+aG5N3pwuiu0SfebRTwFJlNvHOyzgE4mVh85kIoDdwldC6EUMHdNZL4c8gXr5AoDRRCPqk5mcLzzFBEmiETrNF2UaKiUEcGiExFx/YlD6L52ZKGIAmBQFUyd4s0KLZ2/gDh74QzdipI60jHuMefta4zC0LTBXAkIqFCI2Dbf27HgNYpyCkXcXYHPx8S+SeRWwULw7OLIFBHFQ8hzz/g2hsXmem4Ck/HvcwBye0BCSZcBJSn9wOJDkI+FhORC8C4sz2v18D7BcnszG2Dth9dDDS8rS+Mh7APBHNN73sbVuwaBbFLRRk1i/Z8koKhFrYi6+sxll4VfB47NmQaJxkSqlq9aKAOGPlFJZ7c9//K5XRPstEpn6QGkpJoePaBDyH6DlxR4Eu3bAXGSz0C7xsr2xCChMrRLfLqFqCJJlOgeECf1WVHQZaQtpKXymRG65oHZA7hLzubXFW6zIIOen5KM0DnQ7GCwI5HxSdn38CY4ERWpnRU41aGVSIzp2MXlpftDVlWqrb67pBpcgkObrWK7Ttlu3kYHYZz73gg9FiStljDqr5x12yfyBxJuWfYWSGPC//tQNyGxMTj+kKOj6/BL/+FuajXDvtBXATtbUXuV3iKWWKORBsLuRLKNQTBWhmLl0H+BzDBhFen/IZckuG2btTyaIy5U+z7VPuib1ylgtabNABcMjyFCIZ7IcFzmw+Z7ipr97POgDhGfT7zZTAJ//pT64LScMktFNOqv2/6REyQ52CcK82p/fRRYzHLufboh1MRs42V0ZenMGJB7HlN5lhiZBLfHmyu4zzDlaPhID0qtdJK++3jA0Yk5uJqcA0i8pFRYT5y2s84pwIHkh/U2If3h6tk/cpYro27EqK1uKjZifz0ZwAHS7d94E4zw9OL00tJFyoS/eVDt6hnt9Q7JL0Nhigv7Q9rzVGpYZeA6+jECXqbqq61WfzxzuUVnohPezl0zLh2kJlWVImyemnwzdJLbfhpdW94/N1UBkobeEAZYTUYM3j8fShz5Tdl7nhSCchJlyvVltTPMyYfiDiz X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: c6e76781-f5d3-46e6-8d61-08dab8592e24 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB2523.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 20:23:59.3343 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: WqQGtjDARIYy53acJrBBp1jhgE7R5iqLVBVZn1WEmVhSBevtSVTsri6ssoBgnTy29APvecsYgGcn42VmeqojPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR10MB6081 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-27_07,2022-10-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 adultscore=0 malwarescore=0 mlxscore=0 suspectscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2210270114 X-Proofpoint-GUID: wlmi0erJSkskif5sRbz7FtzFPXOFef67 X-Proofpoint-ORIG-GUID: wlmi0erJSkskif5sRbz7FtzFPXOFef67 Received-SPF: pass client-ip=205.220.165.32; envelope-from=annie.li@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org When QEMU emulates the SCSI device, it sets the 'device_id' of the SCSI device with the serial number configured by 'serial=' property, or with 'blk->name' of the block backend otherwise. Then QEMU emulates SCSI commands and fills the mandatory Device identification page(0x83) with the 'device_id' info. However, 'blk->name' of the block backend is NULL if the block backend is defined by '-blockdev' option. This causes the QEMU returns unconfigured empty page to the guest. As a result, this may cause various issues on the guest side. For example, Windows guest crashes due this in BZ#1708490, BZ#1722710#c10. This crash issue has been fixed in Windows vioscsi driver by patching the vpd page[1], but it is better for QEMU to return the non NULL vpd page if possible. This patch sets the 'blk->name' of the block backend that is defined by '-blockdev' option, so the QEMU returns non NULL vpd page when emulating SCSI device. [1] https://github.com/virtio-win/kvm-guest-drivers-windows/commit/b57548c769ed9f431c34f6449ce432dd077cb02e Signed-off-by: Annie Li --- block/block-backend.c | 10 +++++++++- hw/core/qdev-properties-system.c | 1 + include/sysemu/block-backend-global-state.h | 2 ++ 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/block/block-backend.c b/block/block-backend.c index aa4adf06ae..255b009270 100644 --- a/block/block-backend.c +++ b/block/block-backend.c @@ -471,8 +471,9 @@ BlockBackend *blk_new_open(const char *filename, const char *reference, static void blk_delete(BlockBackend *blk) { assert(!blk->refcnt); - assert(!blk->name); assert(!blk->dev); + g_free(blk->name); + blk->name = NULL; if (blk->public.throttle_group_member.throttle_state) { blk_io_limits_disable(blk); } @@ -2594,3 +2595,10 @@ int blk_make_empty(BlockBackend *blk, Error **errp) return bdrv_make_empty(blk->root, errp); } + +void blk_set_name(BlockBackend *blk, char *name) +{ + if (!blk->name) { + blk->name = g_strdup(name); + } +} diff --git a/hw/core/qdev-properties-system.c b/hw/core/qdev-properties-system.c index a91f60567a..9504acf4df 100644 --- a/hw/core/qdev-properties-system.c +++ b/hw/core/qdev-properties-system.c @@ -144,6 +144,7 @@ static void set_drive_helper(Object *obj, Visitor *v, const char *name, ctx = iothread ? bdrv_get_aio_context(bs) : qemu_get_aio_context(); blk = blk_new(ctx, 0, BLK_PERM_ALL); blk_created = true; + blk_set_name(blk, str); ret = blk_insert_bs(blk, bs, errp); if (ret < 0) { diff --git a/include/sysemu/block-backend-global-state.h b/include/sysemu/block-backend-global-state.h index 415f0c91d7..95f166f9c7 100644 --- a/include/sysemu/block-backend-global-state.h +++ b/include/sysemu/block-backend-global-state.h @@ -113,4 +113,6 @@ const BdrvChild *blk_root(BlockBackend *blk); int blk_make_empty(BlockBackend *blk, Error **errp); +void blk_set_name(BlockBackend *blk, char *name); + #endif /* BLOCK_BACKEND_GLOBAL_STATE_H */ From patchwork Thu Oct 27 20:24:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Annie Li X-Patchwork-Id: 13022717 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 71160FA3743 for ; Thu, 27 Oct 2022 20:26:03 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oo9RY-0006Ao-Lk; Thu, 27 Oct 2022 16:25:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo9RO-00060k-NB for qemu-devel@nongnu.org; Thu, 27 Oct 2022 16:25:26 -0400 Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oo9R9-00041I-NJ for qemu-devel@nongnu.org; Thu, 27 Oct 2022 16:25:26 -0400 Received: from pps.filterd (m0246629.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 29RKIq4u006891 for ; Thu, 27 Oct 2022 20:25:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : content-transfer-encoding : content-type : mime-version; s=corp-2022-7-12; bh=TJuSmqE+4eFVcoL1mb80VPoQtKpFfJqt5vp95Mr9h7Q=; b=hyJXvDe//mOKiZgftRWDmYU8+59lO/q81QvyXIq7JvgLtjF+EXMaRuqVFFro8FDr7x+g KuEPmAnJyOIs6Pmst+kjGr3etVhCl1cJYqEhB4RBBqNXGH6y6DnQ7sSU009+HO3VCqIl +maEQ5d3DBz06HKDrl3jilaZAuFJJ9H8JgGHZJImiyrrYbwNk8x+N+zi4zHyGwKUZK/P 4jmODwAaBCFwH+akarGyFlXxoFxAAUS/OXgRpcOu06Djro5Ttbkyh4aM59xhQzan4sgu yYbGU1XbrzKzabkemvqB5BOnj02XSa+u+tigx9WIvVflxkRpIZHcRksTUFPRgxbcuKFQ Sg== Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com (PPS) with ESMTPS id 3kfb0akace-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 27 Oct 2022 20:25:09 +0000 Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.17.1.5/8.17.1.5) with ESMTP id 29RI5d4V012258 for ; Thu, 27 Oct 2022 20:25:07 GMT Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2102.outbound.protection.outlook.com [104.47.55.102]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (PPS) with ESMTPS id 3kfagrcmub-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Thu, 27 Oct 2022 20:25:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fVlTNx4v8y8BIQH/jQdMdjHwBQroykj667DQh+kqf3zejA1Y+bCuAOVJUBkd7ohQQUZkims7aDswmROqjlE/u1eWydeaDCu40rAVNY41Z8koPNXUVI4Qw27YjwwoGgnAbK0HDRdBITmKHr9lE41UWvfe/xydeFE0n+hw3ilB/irrPaeg5VT6Yyb9fFVJJobNvim2NL82mFBvj9byUMZRVSHS4jCAnSq9LudjZhOFV9MiIM5HDiKh4gh/ecm8QBG9rp/MgmNVILNzXKPKk3MRNnjXLb3M3A0BB3ckp6yyH8RGKol8zyXEzJuCCNYw60Zl+zF2LTOBnSYPuO6mpqCGDA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=TJuSmqE+4eFVcoL1mb80VPoQtKpFfJqt5vp95Mr9h7Q=; b=irWjvewXKy0MIspUAEwDgHUiSbd9VHODtcEcAFweNP5LoXheXHsqPFh26UIUE6AKhu9rf8wkRFAuqSpx0yA+C6fJ4UbmbHZsyAgwniaaAf2v+kOsGSrp1dxgvIhR/JFc4aMgCHj7HRWW0OmJcuCLqMO6WG5v92xhcdc6Thdtylq3ghq+QEWhKB16WHWA25+eTc1AomZ+mKYY7QN+REDWR0CVlGCfnYqN9PaHOndcEPq2ZvbYij68E+UyKC+fg+h392ZkjWnuQ37oGKaT0pC9zG8AyWNaOyDliTZDxjaSbChjlzaHOpnDOBQlpcLKrDa7PnsnbKQ2ZpwWxuRKJCmNlg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=TJuSmqE+4eFVcoL1mb80VPoQtKpFfJqt5vp95Mr9h7Q=; b=x04zl8t+GR2vP5mQo52donUSxCCM/ZZRN2QWxElO1mkwixiN23IY6CqpzSXAKTxfMVGww6N8MuH8xArIOJjPr7m+gqQTIu8VQQXw9EahS6u79GjNoUE7EB7HK/4Y5aNuyeJzmtND6VETgMD07uWFDnL7fPh29aDR+SwnBD36Ou8= Received: from DM6PR10MB2523.namprd10.prod.outlook.com (2603:10b6:5:b2::27) by MN2PR10MB4301.namprd10.prod.outlook.com (2603:10b6:208:1d9::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5769.15; Thu, 27 Oct 2022 20:25:05 +0000 Received: from DM6PR10MB2523.namprd10.prod.outlook.com ([fe80::93cb:bdb:4f3c:de66]) by DM6PR10MB2523.namprd10.prod.outlook.com ([fe80::93cb:bdb:4f3c:de66%7]) with mapi id 15.20.5769.014; Thu, 27 Oct 2022 20:25:05 +0000 From: Annie Li To: qemu-devel@nongnu.org Cc: annie.li@oracle.com, mark.kanda@oracle.com Subject: [PATCH 2/2] iotests: Adjust 186.out to account for 'null' node-name Date: Thu, 27 Oct 2022 16:24:41 -0400 Message-Id: <20221027202441.3250-1-annie.li@oracle.com> X-Mailer: git-send-email 2.34.3 In-Reply-To: <20221027202332.3229-1-annie.li@oracle.com> References: <20221027202332.3229-1-annie.li@oracle.com> X-ClientProxiedBy: MN2PR01CA0003.prod.exchangelabs.com (2603:10b6:208:10c::16) To DM6PR10MB2523.namprd10.prod.outlook.com (2603:10b6:5:b2::27) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR10MB2523:EE_|MN2PR10MB4301:EE_ X-MS-Office365-Filtering-Correlation-Id: 5821acd3-7f49-4fb5-69f3-08dab8595516 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YAXV1s3cBpDKfeO19RgNSLhkV8unq2bVDJQufDTSfjbuyxCCKFHDuvZlbZzVwGcKBRB05JUrPY6HBpH6mWpuix4zNKzVQFVVCnjNgYMBUYog+CDf0L4S4cdA8BasIqzs/BTP2K5ZKTnwywDNxvJdvtoo6lQvOVWNJQHuywc3Hgo29DYXhQCrJdgWRfjndPcOImLuGaJwz1JysEegf4aeyhgyhvFyri+UNdao1KG4GIOxevNVRC5HMjybw8To/3w6+D4KxiS5p/n41QhJ9qe7eI7nh8SudDybMw47YER8FXgrKueU9kdsmj14bgGjqjUN1BbLJDts8mtbrb17LnNYsQWXpPHOHTnDGm4t6KxuxjRgR9esBWIAJMVQIkcSuuYnpGrzfX0pwfr2uxpI49eogNadMyWTGbR46O1QnUTH8EEWgQxzM7RNSv92QV4C0vUOI0lERe0Mi7t4OMgfifbVEgGnn5wZJvcA7AxHBmPsYpo5AnR060fKTAiZUlbAhOngRBkKWMX7ESPV/MrRswPM2A/9C+1I3+3dW73PdyiymjCCqYKWqW1ViYW+bN0/9P9LIRqJ6nulhvcd9/eDRssoOFmlRP68F53OkyB8YdAiAgJ5XwesJMqFu05L9c8XWq0GZuxQKBlTA5qmkOO7mjx7rIjwOhKC9R6z1rPLDE28cH2WVCSEIoN2oBl4ppMtgZHrKcMCc7T+keL/AqSaIrsbmQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR10MB2523.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230022)(39860400002)(376002)(136003)(396003)(366004)(346002)(451199015)(41300700001)(8936002)(26005)(6512007)(5660300002)(6506007)(2616005)(36756003)(2906002)(83380400001)(1076003)(44832011)(38100700002)(186003)(86362001)(6916009)(478600001)(316002)(6486002)(6666004)(8676002)(4326008)(66556008)(66946007)(107886003)(66476007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: cR5kO6CS5F0PfWIMUbHmbSmMicRCCc0C+NB4g8LHN4muH8NJF3PC8s8+BvCE6C+lhHl3K0BKQ5d1OKEEPf3RQpuEWgZSHK0qxRMjL3C4FYXsXjeSUfH3VfPbu8mg1zA0Se8doQDlTcbh7UkBMHZ1blLFmB46MI+0u0PmzXy7+CTSDFw+XbjBPq/WDJ7C1EbRq+JM/o52XL1Lsz4oCYdYGZB488POv/rAD1SYcb9QrCFjMNEHefLxdLFWDb2cxtrH5EeHZ2gbRRQ6SXQIqQ6JI9Aif0Si0hWcgzlphx9mqA1M/I/hj2qRjSUqbjozMBcG5pceGWd5RZ1ePv2hEfeexX696rPYJeEmFyViBgdk0Km6wGNYiC+ChC1LJ5PGm/+AIIVT5Hz52mwMzW6Tfv6LaWSZNdKqPB3H8sfyt8SPJI0NqSMobiXs5G2lNkmx9DpZbhZfGoJ1kR/WwlnukNx0Vw4Cej6dYzVbgaL4fio4NVL1yRu910bOL9D495/epZFB8HG4Ci6RGg2mxgldWZyYvCYGS+jj3jQwtLgMGyKTs8iZpyfq1gw+Jvug9muLB+HHG1ym72lfHO5fLg6rQUgWkHXhN5lRkrw2UlwO638DGpH4Iy3555oGpo9XTHd07TUW2ccuC5Izpv8ool4s2l6S552+CxyimG7VjTKmAaV+IRn7K7dmlyn97eZoi7badcY6N7nFz5D+ftmgjaaMmc3P2Fus6K4kaoU+2jsg5IFouOFBne8X9YnWqLCFBvMCkh4SxFgG2Tavk83CD2z3Qw1RvZ+VHesRhokNxNGTiE7E3U/ajZ8CuCpJ4phtQt1phZUyPJlO+vP5A3lytN6vQ5nxu6g58Ybq+XaDN3LFP2rdpdvmusynYo7fDmNQcx/Q1UcEkumRi5rXO8GfIvHBSFYStCZ6sNZADxIORhVgDU07m0vu2I3gQjkD+KQ2xQ6fh1sUmY/f3emLQR1QtvF12v11IW8K3sROReCwmf0uki79FYVvxQNrNOlpw+3DIrdWUp0AfuIdbCVXo7P+uOMQnVOEoEnozdN3o3Aqlvu6GPotqV2Kc6WJ3TeFKSTyDqSxAFcMXL3YaVqA7t3vj8MLVw/z334jsrf9pZ3k3VzpxdEfxAmrUFuC25OuOTqof0R0RZrquNb+FEjP2rDE18iF/ojEkUKAE1Qdj/3yu4Rbvaw9y2QAlsttfaebE9dC+smJwldr8xL3FXgVwYtWLZ9EN/gLMqkNuoGDGredUnqJr3t/S2gcuM2SZ8P+DUapSca31RGLicZAErSajlUNBLRZWPK9w3atQFryeIMuHEg+eKCfDtx8hqubYnoGwi6wtQEtTGlnDiYBpLaozaDKOj2Y9U/jto90v4WeQ8B8jNlZACZ0ny6wN2kffqI4bhaRYY1WyGOT8zKFBpzXQR0SowEpCQK353VEOFGttWcmk+r0DeEfejUTiRVRzljnGEZ8u8fzpJYqXy1VfpbUCsZ6cTxiyAP8Seu6XU2AN2V6+BwdaKDe/qNUlkR5HstngGL+rlaSE521WNl01YAomlZQQLYNGKzC3/tDboKVhRZuBFY4p1tSbzpZ4Ug+2Yig9c+Jze+Q99EC X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5821acd3-7f49-4fb5-69f3-08dab8595516 X-MS-Exchange-CrossTenant-AuthSource: DM6PR10MB2523.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2022 20:25:04.9384 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: K1SRaKfIGjXdXHSbl2NOEGTLdKnRJPrb2cS12fEqX5fHNUyNmScHrNJnVXBL5DThN82PhxVbtcg8SSZ9t4W8NQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR10MB4301 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-27_07,2022-10-27_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=971 phishscore=0 adultscore=0 malwarescore=0 mlxscore=0 suspectscore=0 bulkscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2210170000 definitions=main-2210270114 X-Proofpoint-GUID: 2WTbn1aA3u3mMiXqCQF5-Pk08x1zrtiv X-Proofpoint-ORIG-GUID: 2WTbn1aA3u3mMiXqCQF5-Pk08x1zrtiv Received-SPF: pass client-ip=205.220.165.32; envelope-from=annie.li@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "Qemu-devel" Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org A recent enhancement for setting the block backend name fails test 186 due to a 'null' node-name. This is expected; adjust the expected test output accordingly. Signed-off-by: Mark Kanda Signed-off-by: Annie Li --- tests/qemu-iotests/186.out | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/tests/qemu-iotests/186.out b/tests/qemu-iotests/186.out index 01530040e5..27316bba46 100644 --- a/tests/qemu-iotests/186.out +++ b/tests/qemu-iotests/186.out @@ -57,7 +57,7 @@ qdev_id: [not inserted] Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: /machine/peripheral-anon/device[N] Cache mode: writeback (qemu) quit @@ -65,7 +65,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-hd,drive=null,id=qdev_id QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: qdev_id Cache mode: writeback (qemu) quit @@ -73,7 +73,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: /machine/peripheral-anon/device[N] Cache mode: writeback (qemu) quit @@ -81,7 +81,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-hd,drive=null,id=qdev_id QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: qdev_id Cache mode: writeback (qemu) quit @@ -89,7 +89,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: /machine/peripheral-anon/device[N]/virtio-backend Cache mode: writeback (qemu) quit @@ -97,7 +97,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device virtio-blk-pci,drive=null,id=qdev_id QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: /machine/peripheral/qdev_id/virtio-backend Cache mode: writeback (qemu) quit @@ -105,7 +105,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: /machine/peripheral-anon/device[N] Removable device: not locked, tray closed Cache mode: writeback @@ -114,7 +114,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device floppy,drive=null,id=qdev_id QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: qdev_id Removable device: not locked, tray closed Cache mode: writeback @@ -123,7 +123,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: /machine/peripheral-anon/device[N] Removable device: not locked, tray closed Cache mode: writeback @@ -132,7 +132,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device ide-cd,drive=null,id=qdev_id QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: qdev_id Removable device: not locked, tray closed Cache mode: writeback @@ -141,7 +141,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-cd,drive=null QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: /machine/peripheral-anon/device[N] Removable device: not locked, tray closed Cache mode: writeback @@ -150,7 +150,7 @@ null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) Testing: -blockdev driver=null-co,read-zeroes=on,node-name=null -device scsi-cd,drive=null,id=qdev_id QEMU X.Y.Z monitor - type 'help' for more information (qemu) info block -null: json:{"read-zeroes": true, "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": true, "driver": "null-co"} (null-co) Attached to: qdev_id Removable device: not locked, tray closed Cache mode: writeback @@ -166,7 +166,7 @@ none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Removable device: not locked, tray closed Cache mode: writeback -null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Attached to: qdev_id Cache mode: writeback (qemu) quit @@ -178,7 +178,7 @@ none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Removable device: not locked, tray closed Cache mode: writeback -null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Attached to: qdev_id Cache mode: writeback (qemu) quit @@ -190,7 +190,7 @@ none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Removable device: not locked, tray closed Cache mode: writeback -null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Attached to: /machine/peripheral/qdev_id/virtio-backend Cache mode: writeback (qemu) quit @@ -202,7 +202,7 @@ none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Removable device: not locked, tray closed Cache mode: writeback -null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Attached to: qdev_id Removable device: not locked, tray closed Cache mode: writeback @@ -215,7 +215,7 @@ none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Removable device: not locked, tray closed Cache mode: writeback -null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Attached to: qdev_id Removable device: not locked, tray closed Cache mode: writeback @@ -228,7 +228,7 @@ none0 (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Removable device: not locked, tray closed Cache mode: writeback -null: json:{"read-zeroes": "on", "driver": "null-co"} (null-co) +null (null): json:{"read-zeroes": "on", "driver": "null-co"} (null-co) Attached to: qdev_id Removable device: not locked, tray closed Cache mode: writeback