From nobody Tue Feb 10 13:55:26 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=1613824642; cv=none; d=zohomail.com; s=zohoarc; b=kC+YK4Q7402Xfc3JfQX0kIX8iAICnGEp0+Ay3K+0uRTaAoNyi5bI+DZwPj+6lYl9UrjHUc8xGnxsa6ijSK7Ofym/qUBnmL5/jlAssf0nV8ObKCQ3YmsqiHqnh7CFzyp4Dagv1Ep6ZIG6TkWkP4jISTyPJEUf6neg28SPBXs6Nlg= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1613824642; 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=w6aaA5Ah51C1Vfw+PS/tUMbVPm3Ci8HEEpNUCUpOmHc=; b=A5nYek1K1ODvZyxZcy8vH5dZIPCUEqPw635ZP+WIbiuanPs8WklhKcxIa5W4OXN5tqxtDTGypIZfCG20lg5zp+hRQEff/Nl/xhPap0s+fY6NAVkfZbGdqE2tzO4TR3yIPRTu+WzYHqzSkRZNaZP6Ho8KQe1WieQ9XSiVShUOG+w= 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 1613824641616383.8961607299458; Sat, 20 Feb 2021 04:37:21 -0800 (PST) Received: from localhost ([::1]:38800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDRVg-0000LZ-FF for importer@patchew.org; Sat, 20 Feb 2021 07:37:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDRUF-00070D-E1; Sat, 20 Feb 2021 07:35:51 -0500 Received: from mout.kundenserver.de ([212.227.17.13]:41305) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDRUC-0003MJ-MS; Sat, 20 Feb 2021 07:35:50 -0500 Received: from localhost.localdomain ([82.252.134.158]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1Miqzy-1ljV2i1uqa-00exXT; Sat, 20 Feb 2021 13:35:36 +0100 From: Laurent Vivier To: qemu-devel@nongnu.org Subject: [PULL 06/12] vmmouse: put it into the 'input' category Date: Sat, 20 Feb 2021 13:35:19 +0100 Message-Id: <20210220123525.1353731-7-laurent@vivier.eu> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210220123525.1353731-1-laurent@vivier.eu> References: <20210220123525.1353731-1-laurent@vivier.eu> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:H9EDVWpnCSs9ecR5x1Mujxt7elTnnL0JEQC7iBh9BT50gruihej gwRhWCuqMcpQlGA2HW1+DBEGWlkSKEhDdCpXbyE7IBw/Beja4XKxd7mm9ZhlOCU7MMfQfO8 rAVU9WbU+DNzzYAgWyAbZhhJqd391uy9vYulwMMaCEav8Sic+PqMd6NkAmPBCa0euDpymyd qY50o0AVjvuKYROMdgUGQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:7r2APxRwze0=:IUyXa5Du5zAmD9m6/CGi51 3eECKbJt56Iha56Uc+zxeB8rX1oBFLZj+830WDMO9g7KEvJMBulrxOcZeOtDx7M6ry4TYBPIY Vm9Jnhfubzgv3H2RsAyYIs3V+q2JegcURw6Re6735ndW0N4fmBwZNXEwBN5XjwCZL60SINtsj zjPFpIaVwYBnuDRYiETPR2WP+Scu/qgGwt62/90AgTWO+KSEJfcgkm6Fij+05J9eoEfdP5mJP iwEufB9bI3fHxE0jpIRX4dCVQ6D29Jtp7N5/6Y/7I5wJgMgetBK2tUd2O6hONmgVd62S1IziQ RgUGhazoK6SwhH2D/FLP48+FvFViI02yumcAoLr33Woy/zSz7ahMPKDQvTKrBHq8J4d4aE6Cl FMVKiG2PaVN6NWGDJtVbrX7RH5OJh62YSSLx9y9nPcv+2CuGvXAw1Q+E5jfIp 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: none client-ip=212.227.17.13; envelope-from=laurent@vivier.eu; helo=mout.kundenserver.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=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: Thomas Huth , qemu-trivial@nongnu.org, Michael Tokarev , Laurent Vivier , Gan Qixin , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" From: Gan Qixin The category of the vmmouse device is not set, put it into the 'input' category. Signed-off-by: Gan Qixin Reviewed-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Thomas Huth Message-Id: <20201130083630.2520597-4-ganqixin@huawei.com> Signed-off-by: Laurent Vivier --- hw/i386/vmmouse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/i386/vmmouse.c b/hw/i386/vmmouse.c index a3556438f0ff..df4798f50284 100644 --- a/hw/i386/vmmouse.c +++ b/hw/i386/vmmouse.c @@ -308,6 +308,7 @@ static void vmmouse_class_initfn(ObjectClass *klass, vo= id *data) dc->reset =3D vmmouse_reset; dc->vmsd =3D &vmstate_vmmouse; device_class_set_props(dc, vmmouse_properties); + set_bit(DEVICE_CATEGORY_INPUT, dc->categories); } =20 static const TypeInfo vmmouse_info =3D { --=20 2.29.2