From nobody Mon Feb 9 09:15:56 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1612858325; cv=none; d=zohomail.com; s=zohoarc; b=LgZC4Kji8Q8NlZ1yzzLPDX7pndUhIPHkZIDPG/cdwJ4QxIZ/hWSN9Unh6cOElymoA6TFvOD3zTor7Ndm1uBJHGW1sZAVBZ9Vb5y6qRHyosPLRY3ejO4xxugn0PT4QFEJbT7apkz6zRvlj+lgncngw8O5iJo6uEwzLmaV1IWRt1c= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1612858325; h=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=T6zZGzpk8/9R3A4FKDcENctUZjgPVemx2SGj+KWaA/E=; b=Tp3TK4wxRv4LiU86B+qYWn+2ncwzeIw8REZnLHcTaMhpdAhA62q4uRpy5EQREWdY+M4sVS+iBH7tBqf+fJaDx9HfJN+IAVXny883Yx9/mSruT9IuS1gM3SSkGqOwCn3x58W7ZS5DOvZ84JgxVtExVfrR5EoeIy2S4qlNEkMFBmM= ARC-Authentication-Results: i=1; mx.zohomail.com; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1612858325461634.2460977427351; Tue, 9 Feb 2021 00:12:05 -0800 (PST) Received: from localhost ([::1]:43276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l9O7u-00014d-Pc for importer@patchew.org; Tue, 09 Feb 2021 03:12:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:47390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9NVr-0005R3-RY; Tue, 09 Feb 2021 02:32:49 -0500 Received: from wnew1-smtp.messagingengine.com ([64.147.123.26]:42419) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l9NVi-0005mP-BQ; Tue, 09 Feb 2021 02:32:43 -0500 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.west.internal (Postfix) with ESMTP id 902BEC44; Tue, 9 Feb 2021 02:32:03 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Tue, 09 Feb 2021 02:32:04 -0500 Received: from apples.local (80-167-98-190-cable.dk.customer.tdc.net [80.167.98.190]) by mail.messagingengine.com (Postfix) with ESMTPA id B561F108005F; Tue, 9 Feb 2021 02:32:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=irrelevant.dk; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; s=fm2; bh=T6zZGzpk8/9R3 A4FKDcENctUZjgPVemx2SGj+KWaA/E=; b=k3JNnjHCBS0XDkGuBNZQ3IhVqguDx y4ll5yACbnxjpqmCOL9W7nU6xqcuYpheuygUGxcZS0oMFgqgY5KNLu1804tKnBXK gwCTgHkGLZ3ltksbKMFCdtZ05trRvfmdgOKmeBNhq6/2S3lEqN3llRlcpQEAEOmf yKuXjEBkV8e/ylJV+avoyW7b48fsj5iFakfIWiMsjDV04X4dmYhoqJxoaeyr0o8Q eNbGoea8RRviB79VRhGIiYW0xXiJQaVxuvJahzKSVD9MiGdV2hg/81jAQUz+ZJPt bxnA0PS6zpRgyzkS4Qqy4fSl4U1FpT4VM7LAB9txct3oeckDyY6an77XQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :in-reply-to:message-id:mime-version:references:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=T6zZGzpk8/9R3A4FKDcENctUZjgPVemx2SGj+KWaA/E=; b=MDOvQob3 RYPUe4rtGYEixB7o/sVVjzY/Gc+HxgFaj5xkIWoIUCWhWVauhORImaFLXM543k8s 2f40BzA8tu0f0NIjrzbdFZPxbitBwUzqjGnHhQzjnm2VmsfQhqA+9+6ZgY0MMJHW v1mpjFbmenAf3aluVdNzxi6ilB5TQBFgFsCA/cgSEFNrHExHKvI9/9auVGcTns0d PwrwNDiV5RV3JST+/z5TuPCgqANj+f6ydS7nDYLDZtBTF/FNAXQLQIiFSCimM+Wl vCloUCHQA9Jab0riR//vuLG+KlFoel2Ow/0eRRckvlCROJ+itrvjRsO9dBAVaK3K aG79VCyd7pzWPA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrheeggdduuddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpefmlhgruhhs ucflvghnshgvnhcuoehithhssehirhhrvghlvghvrghnthdrughkqeenucggtffrrghtth gvrhhnpeeuleetgeeiuefhgfekfefgveejiefgteekiedtgfdtieefhfdthfefueffvefg keenucfkphepkedtrdduieejrdelkedrudeltdenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehithhssehirhhrvghlvghvrghnthdrughk X-ME-Proxy: From: Klaus Jensen To: qemu-devel@nongnu.org, Peter Maydell Subject: [PULL 26/56] hw/block/nvme: add missing string representations for commands Date: Tue, 9 Feb 2021 08:30:31 +0100 Message-Id: <20210209073101.548811-27-its@irrelevant.dk> X-Mailer: git-send-email 2.30.0 In-Reply-To: <20210209073101.548811-1-its@irrelevant.dk> References: <20210209073101.548811-1-its@irrelevant.dk> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=64.147.123.26; envelope-from=its@irrelevant.dk; helo=wnew1-smtp.messagingengine.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, SPF_HELO_PASS=-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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Fam Zheng , Kevin Wolf , qemu-block@nongnu.org, Dmitry Fomichev , Klaus Jensen , Max Reitz , Klaus Jensen , Stefan Hajnoczi , Keith Busch Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Klaus Jensen Add missing string representations for a couple of new commands. Signed-off-by: Klaus Jensen Tested-by: Dmitry Fomichev Reviewed-by: Dmitry Fomichev --- hw/block/nvme.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/block/nvme.h b/hw/block/nvme.h index b7fbcca39d9f..65540b650e1d 100644 --- a/hw/block/nvme.h +++ b/hw/block/nvme.h @@ -64,8 +64,12 @@ static inline const char *nvme_io_opc_str(uint8_t opc) case NVME_CMD_FLUSH: return "NVME_NVM_CMD_FLUSH"; case NVME_CMD_WRITE: return "NVME_NVM_CMD_WRITE"; case NVME_CMD_READ: return "NVME_NVM_CMD_READ"; + case NVME_CMD_COMPARE: return "NVME_NVM_CMD_COMPARE"; case NVME_CMD_WRITE_ZEROES: return "NVME_NVM_CMD_WRITE_ZEROES"; case NVME_CMD_DSM: return "NVME_NVM_CMD_DSM"; + case NVME_CMD_ZONE_MGMT_SEND: return "NVME_ZONED_CMD_MGMT_SEND"; + case NVME_CMD_ZONE_MGMT_RECV: return "NVME_ZONED_CMD_MGMT_RECV"; + case NVME_CMD_ZONE_APPEND: return "NVME_ZONED_CMD_ZONE_APPEND"; default: return "NVME_NVM_CMD_UNKNOWN"; } } --=20 2.30.0