From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8D226A054A for ; Tue, 6 Dec 2022 16:03:21 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 87279410FB; Tue, 6 Dec 2022 16:03:21 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 706BB40FAE for ; Tue, 6 Dec 2022 16:03:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1670338998; h=from:from: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; bh=LXJrJ6j1mwSqI0OKR2aqFWsSOd92jQP2WyZxY3J5Tf0=; b=izdgKJPTlwMcg/5KlLOeKqitQjIPkZwIwQ7FNLgo1qdOICMYAjC7k2CfU6zLGTvpkjawh2 2/yVAbrjGlFQFtLvT9bTTB2x9KRRGHr44aVoPjpGue5mA0Y19f4tU6D1KkR1Emxv6u0NyE HYEt+hXckjxhejlTt6lwTPzuXTkF9u4= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-177-XlSki8aUNI2zCsT7we626A-1; Tue, 06 Dec 2022 10:03:12 -0500 X-MC-Unique: XlSki8aUNI2zCsT7we626A-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 8054D833B00; Tue, 6 Dec 2022 15:03:05 +0000 (UTC) Received: from max-t490s.redhat.com (unknown [10.39.208.28]) by smtp.corp.redhat.com (Postfix) with ESMTP id 57F3C1121315; Tue, 6 Dec 2022 15:03:03 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, chenbo.xia@intel.com, ktraynor@redhat.com, david.marchand@redhat.com Cc: Maxime Coquelin , stable@dpdk.org Subject: [PATCH] vhost: decrease log level for unimplemented request Date: Tue, 6 Dec 2022 16:02:57 +0100 Message-Id: <20221206150257.70926-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII"; x-default=true X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org This patch changes VHOST_USER_SET_VRING_ERR "not implemented" log level from INFO to DEBUG. Indeed, it is not required to support this message type, and since version 7.1, QEMU sends this message for every queue. It could confuse the end-user, thinking there is an issue where there are not. Implementing it could be an option, but it does nothing special on QEMU side but displaying an error message. Fixes: fd29c33b651a ("vhost: handle unsupported message types in functions") Cc: stable@dpdk.org Signed-off-by: Maxime Coquelin --- lib/vhost/vhost_user.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vhost/vhost_user.c b/lib/vhost/vhost_user.c index 9902ae9944..371d6304d6 100644 --- a/lib/vhost/vhost_user.c +++ b/lib/vhost/vhost_user.c @@ -1809,7 +1809,7 @@ static int vhost_user_set_vring_err(struct virtio_net **pdev, if (!(ctx->msg.payload.u64 & VHOST_USER_VRING_NOFD_MASK)) close(ctx->fds[0]); - VHOST_LOG_CONFIG(dev->ifname, INFO, "not implemented\n"); + VHOST_LOG_CONFIG(dev->ifname, DEBUG, "not implemented\n"); return RTE_VHOST_MSG_RESULT_OK; } -- 2.38.1