From nobody Mon Feb 2 07:29:09 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1768532654; cv=none; d=zohomail.com; s=zohoarc; b=RBTD4ewpdT3NIZqdMUetpKY7K6LuLOfIeAlDWx+pWRNkPkTtb0DQt0TQu7p8nRqOR0MPsTgRHFlBdElWzS/bAHZAfgwOSs5vuc2NuD2IhGPfr+GYDzu3IYxdCz42fSmMWfPtmrwHtRl8rwUmdw0uC6gfLNJKOlXVtQaxChtJWtk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768532654; h=Content-Transfer-Encoding:Date:Date:From:From:In-Reply-To:List-Subscribe:List-Post:List-Owner:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=Th0TY27ZgU4Wfp6od9nimqecWoBeJarlIyYLwvrO+sU=; b=QHiGtuYUq3Wl/3US7LZQFZx06Sm6RgRhnzTAhKY5NtDVQ7wQHpFDnoMwPjOKdfGHbm/4LNP9HDO4vGbSflCZXBQVUITPoVzno1/BYmCKC+d6mZiCn7Fpub/FuVUEDD5LJkwsePdX5xkYspY2r//oZPpTKoPf8d/rUObuaqYIMn4= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1768532654478610.7523354902062; Thu, 15 Jan 2026 19:04:14 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 6707E41ACD; Thu, 15 Jan 2026 22:04:13 -0500 (EST) Received: from [172.19.199.83] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 5FE0441C3D; Thu, 15 Jan 2026 21:59:10 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id E9F6841C2C; Thu, 15 Jan 2026 21:59:04 -0500 (EST) Received: from mail-qk1-f180.google.com (mail-qk1-f180.google.com [209.85.222.180]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (3072 bits) server-digest SHA256) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id 6B2A043DBC for ; Thu, 15 Jan 2026 21:57:46 -0500 (EST) Received: by mail-qk1-f180.google.com with SMTP id af79cd13be357-8c69ffb226eso169839085a.1 for ; Thu, 15 Jan 2026 18:57:46 -0800 (PST) Received: from fedora ([2804:14c:3b83:91fd::fa62]) by smtp.gmail.com with ESMTPSA id af79cd13be357-8c6a71c14a9sm120243785a.22.2026.01.15.18.57.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jan 2026 18:57:45 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-26) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_LOW, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, RCVD_IN_VALIDITY_SAFE_BLOCKED,SPF_PASS autolearn=unavailable autolearn_force=no version=4.0.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1768532266; x=1769137066; darn=lists.libvirt.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=Th0TY27ZgU4Wfp6od9nimqecWoBeJarlIyYLwvrO+sU=; b=ktaeDTk55Veg7MeaOitj5VTzruPTM5AANLNqfHAHArKm2Wa2aN9T+S+dZFLTmJhMDy lqps7emZ2Ha1UKSUncJ+yI7ANGuYCDQXhhHMj0cHf146161nViPh4pBQ90RygsKp84oc PUn4kaTeGYeW8WLmUc4asMcH5H5FKk1+Jku3BhguutkdeBF0NmRNNyAidphkIMANcbCd UowY73Em80PE7ATKvHO3bAkiGxedbSZyM6WRiOxsPXH6JI1OEzdj4em1H3QskOxIJVJ5 vJdkbXm0AHyUwQV6V/hPpC7Mv0YDtPxaX3VfaEzDTSNzXJrjYlkYlIxSAn1mVC3dLg/P cDwg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768532266; x=1769137066; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=Th0TY27ZgU4Wfp6od9nimqecWoBeJarlIyYLwvrO+sU=; b=BzgGvEedEyL6lM4khyVn3SASYCZbRbcJQ9TIJA4Rrr2pnskWiIxV5ANbLItl8D91P1 28BFHb0iDslrvICN+d6R9BonM9LNShCw4SEuHng3XXXznapeBC9iIOzjFh5152p0U1eR A+Z+Oo3EYH0KBkVnWpiwVutwi7H/HttkgVF+IZM5looCBdsVH5O3ETyqWZom29HirmgA +Hf44FKDB4TdWLzWTucEQWNMeiovZPXHkPODJ5c6Kwo64A1o5d5e40eZLwBnbRhG09M6 V24BHjq4jB8VCaCagQEkrf97GOAxIS/nhJscMbUW7QCnPKaW384RBWt4mO8j+MVbYkif FwRg== X-Gm-Message-State: AOJu0YyMPmwaQ8B7AE6HcN+3S45EWgkesS1QHL/q0pvnfv7gTR2fhbMy VUB+AoVFGbgnNw9Dj3ku8n38n99on2qvzmzNwS0VQLfV7TLSH9oXHUaL4V6BNw== X-Gm-Gg: AY/fxX6T436SF/DLdl9wrDUIW5VkrxIF/sNVOXsxOMvF21va3ljlS58KZ2xrHupgFzg kF2xjPBOuYsjPXVvpX7EulHA+6XSR0RS/gulOAyinzEN78T8Gz+vAqpagBMcnJu9n2WHFxdnCy0 r2+Jo7NA6owubDYWkllfNjRlYm1IKaXT4RIICtH0cmNOtMQ8GHoDZEXC+5CtlZf+JCB/17I+2qJ 5onNyzNpyKbzdR3SbJP4Pga+L5mx2CTwLF9b+OArt0Fp/oJlzf2VMzYl9W32ZEgJiAQoP8XY5+6 xGWar/IEG7FTSBPs/zNxWxuyx2zj4Yv0jOKg3H3CxGZhCP1L/dmNa78IgkizJU8YT/Bhtyp1nM0 AyijF5Lpzf6Oac/rsQRH1UT4+scX7BsK97JObEPYatP0vbUmhKP6fu7cXZi4ONv9m X-Received: by 2002:a05:620a:4441:b0:8be:e044:8cfa with SMTP id af79cd13be357-8c6a6906aa2mr227617185a.40.1768532265685; Thu, 15 Jan 2026 18:57:45 -0800 (PST) From: Julio Faracco To: devel@lists.libvirt.org Subject: [PATCH 8/8] tests: Add multitouch support to virtio-input tests Date: Thu, 15 Jan 2026 23:52:36 -0300 Message-ID: <20260116025708.18419-9-jcfaracco@gmail.com> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260116025708.18419-1-jcfaracco@gmail.com> References: <20260116025708.18419-1-jcfaracco@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: UUAWYCFCLUP7HEY3TQGLXPRS3GY6UMZY X-Message-ID-Hash: UUAWYCFCLUP7HEY3TQGLXPRS3GY6UMZY X-MailFrom: jcfaracco@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-devel.lists.libvirt.org-0; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1768532655940158500 Content-Type: text/plain; charset="utf-8" This commit adds test coverage for the multitouch input device feature. Updated test files to get this new capability working with other input devices: - tests/qemucapabilitiesdata/caps_10.2.0_x86_64.xml: Adds the QEMU_CAPS_VIRTIO_MULTITOUCH capability to the QEMU 10.2.0 capability test data, indicating that this QEMU version supports multitouch devices. - tests/qemuxmlconfdata/virtio-input.xml: Adds a multitouch input device definition to the virtio-input test case, providing an example of proper XML syntax. - tests/qemuxmlconfdata/virtio-input.x86_64-latest.xml: Updates the expected parsed XML output to include the multitouch device configuration. - tests/qemuxmlconfdata/virtio-input.x86_64-latest.args: Updates the expect= ed QEMU command-line arguments to include the virtio-multitouch-pci device, validating that libvirt correctly translates the XML into QEMU arguments. Signed-off-by: Julio Faracco --- tests/qemucapabilitiesdata/caps_10.2.0_x86_64.xml | 1 + tests/qemuxmlconfdata/virtio-input.x86_64-latest.args | 1 + tests/qemuxmlconfdata/virtio-input.x86_64-latest.xml | 3 +++ tests/qemuxmlconfdata/virtio-input.xml | 1 + 4 files changed, 6 insertions(+) diff --git a/tests/qemucapabilitiesdata/caps_10.2.0_x86_64.xml b/tests/qemu= capabilitiesdata/caps_10.2.0_x86_64.xml index 06f7bf784d..d718aec43a 100644 --- a/tests/qemucapabilitiesdata/caps_10.2.0_x86_64.xml +++ b/tests/qemucapabilitiesdata/caps_10.2.0_x86_64.xml @@ -64,6 +64,7 @@ + diff --git a/tests/qemuxmlconfdata/virtio-input.x86_64-latest.args b/tests/= qemuxmlconfdata/virtio-input.x86_64-latest.args index 20439c7de1..9f1747f509 100644 --- a/tests/qemuxmlconfdata/virtio-input.x86_64-latest.args +++ b/tests/qemuxmlconfdata/virtio-input.x86_64-latest.args @@ -30,6 +30,7 @@ XDG_CONFIG_HOME=3D/var/lib/libvirt/qemu/domain--1-QEMUGue= st1/.config \ -device '{"driver":"virtio-mouse-pci","id":"input0","bus":"pci.0","addr":"= 0x3"}' \ -device '{"driver":"virtio-keyboard-pci","id":"input1","bus":"pci.0","addr= ":"0xa"}' \ -device '{"driver":"virtio-tablet-pci","id":"input2","bus":"pci.0","addr":= "0x4"}' \ +-device '{"driver":"virtio-multitouch-pci","id":"input3","bus":"pci.0","ad= dr":"0x5"}' \ -audiodev '{"id":"audio1","driver":"none"}' \ -device '{"driver":"virtio-balloon-pci","id":"balloon0","bus":"pci.0","add= r":"0x2"}' \ -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resource= control=3Ddeny \ diff --git a/tests/qemuxmlconfdata/virtio-input.x86_64-latest.xml b/tests/q= emuxmlconfdata/virtio-input.x86_64-latest.xml index e9c7a3676c..ff7b142cdd 100644 --- a/tests/qemuxmlconfdata/virtio-input.x86_64-latest.xml +++ b/tests/qemuxmlconfdata/virtio-input.x86_64-latest.xml @@ -30,6 +30,9 @@
+ +
+