From nobody Mon Nov 23 05:10:07 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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; dmarc=pass(p=none dis=none) header.from=yandex-team.ru ARC-Seal: i=1; a=rsa-sha256; t=1790677057; cv=none; d=zohomail.com; s=zohoarc; b=SBcRt8l4DlETH+4qHzifjGHxZjD8pHzlu5oGtQrw908p4mlg810CjSM2j3+EERhF5ao5/NDFixVKhuoHytWwT3gre/uHVnULqp055jWP8XGyOnpeRHDi2B6kpFS3pImtrQiwmNF4VXIKL7TbVxNGuzswm6k+bIxqhLF7+8GBzBY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1790677057; h=Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:Subject:To:To:Message-Id:Reply-To; bh=g2qqngGT8Oz5dfle7W/A7+DWnvAxgYxBDcVtC7Vwc7Y=; b=Twll952g9U83hn0Clo32JyePkcCWhq4ajJYokI1bzvLxBrXGhUzoH9eCTJNhruJEX38yFPSwjUrutN7dBl59Je4d6yQwjvFKeHujpo1RNg/Fjg+NvMMWCTZV8h/Ife/7A7zXIONi/B1oqXQs6EfleaWKY0gSsH20mv6FBMU2VXY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1790677056496359.3319409448826; Tue, 29 Sep 2026 03:17:36 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1xBUtK-0004A8-Iv; Tue, 29 Sep 2026 06:16:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xBUtI-00049u-HO for qemu-devel@nongnu.org; Tue, 29 Sep 2026 06:16:52 -0400 Received: from forwardcorp1d.mail.yandex.net ([2a02:6b8:c41:1300:1:45:d181:df01]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1xBUtG-0001e0-5p for qemu-devel@nongnu.org; Tue, 29 Sep 2026 06:16:52 -0400 Received: from mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net (mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net [IPv6:2a02:6b8:c42:6522:0:640:3362:0]) by forwardcorp1d.mail.yandex.net (postfix) with ESMTPS id DF2848086E; Tue, 29 Sep 2026 13:16:42 +0300 (MSK) Received: from dtalexundeer-nx.yandex.net (unknown [2a02:6bf:8080:852::1:36]) by mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net (smtpcorp) with ESMTPSA id NGf07W1YRSw0-zs5RWZLd; Tue, 29 Sep 2026 13:16:42 +0300 Precedence: bulk X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex-team.ru; s=default; t=1790677002; bh=g2qqngGT8Oz5dfle7W/A7+DWnvAxgYxBDcVtC7Vwc7Y=; h=Message-Id:Date:Cc:Subject:To:From; b=SuXM2j6OK3UaOgL3tdVjYmQ8SS7C5E5XU/pR9A7sceXyXyrI7k/Ee3jwl41omzJzr ZwIqwPOzYuG6nwBZKh4kdKFBnm+dyjqa3+J7BhnQItAfVb0R+E9LgowM/6Z1YSIDQ5 XeD3k/WNxYyzhCAN0GC+MOL2qlg8AUymdeG65jaU= Authentication-Results: mail-nwsmtp-smtp-corp-main-56.klg.yp-c.yandex.net; dkim=pass header.i=@yandex-team.ru From: Alexandr Moshkov To: qemu-devel@nongnu.org Cc: =?UTF-8?q?Cl=C3=A9ment=20Chigot?= , "yc-core @ yandex-team . ru" , Stefano Garzarella , "Michael S. Tsirkin" , Alexandr Moshkov Subject: [PATCH] vhost-user: add missing stub for vhost_user_has_protocol_feature() Date: Tue, 29 Sep 2026 15:16:23 +0500 Message-Id: <20260929101623.1352299-1-dtalexundeer@yandex-team.ru> X-Mailer: git-send-email 2.34.1 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=lists1p.gnu.org; Received-SPF: pass client-ip=2a02:6b8:c41:1300:1:45:d181:df01; envelope-from=dtalexundeer@yandex-team.ru; helo=forwardcorp1d.mail.yandex.net 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, 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 List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: qemu-devel-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @yandex-team.ru) X-ZM-MESSAGEID: 1790677060187158500 Content-Type: text/plain; charset="utf-8" Currently, building with --disable-vhost-user fails to link when other vhost backends are enabled: vhost.c calls vhost_user_has_protocol_feature(), but its implementation is not built. Add a stub returning false to fix the link error. Signed-off-by: Alexandr Moshkov Reported-by: Cl=C3=A9ment Chigot Tested-by: Cl=C3=A9ment Chigot --- hw/virtio/vhost-user-stub.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/hw/virtio/vhost-user-stub.c b/hw/virtio/vhost-user-stub.c index 45559788dd..9d2e521788 100644 --- a/hw/virtio/vhost-user-stub.c +++ b/hw/virtio/vhost-user-stub.c @@ -4,3 +4,8 @@ void vhost_user_qmp_status(struct vhost_dev *dev, VirtioStatus *status) { } + +bool vhost_user_has_protocol_feature(struct vhost_dev *dev, uint64_t featu= re) +{ + return false; +} --=20 2.34.1