From nobody Mon Feb 2 07:29:08 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=1768532413; cv=none; d=zohomail.com; s=zohoarc; b=LwJZt3t+vzPvhaeRjS0i6gtqo3wOLrquvVVWdLm+L34LpegYHRJ21BXwsQnHB6v6bzW+hd5BaoyUQhU2K7UgRK4i5vY6z2n2aWehrH1IwU+s+wIJY8LweTzpF5v2ypRccl3kWVncym9uYZIHS6wVAgPTGT4p7Xuaw/H0tTs0ENM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1768532413; 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=zMlgAINl0Ry/zfDZwnMXcNWRTVX/0X0ozAYsgnr4ODA=; b=aVeyx0JTAIMrG2m5d0Bm+lCW6l6rwVXF/OhbqafEwU0g7JzKixb5o/S6cBC/Gwjy5MqEqOYteqTg/JPinYL4Qfkg4p8tyjb3PelGAw2drk/b+VkYaFhYavg7XkBz5I4keG90gvJ2chX9C+sF0igaMHRrPUAXZEy/tPO/bSXnlqw= 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 1768532413011853.8841582387233; Thu, 15 Jan 2026 19:00:13 -0800 (PST) Received: by lists.libvirt.org (Postfix, from userid 993) id 2E7BB41C2C; Thu, 15 Jan 2026 22:00:12 -0500 (EST) Received: from [172.19.199.83] (lists.libvirt.org [8.43.85.245]) by lists.libvirt.org (Postfix) with ESMTP id 7CA5141BA6; Thu, 15 Jan 2026 21:57:52 -0500 (EST) Received: by lists.libvirt.org (Postfix, from userid 993) id 0C19841AC1; Thu, 15 Jan 2026 21:57:36 -0500 (EST) Received: from mail-qk1-f176.google.com (mail-qk1-f176.google.com [209.85.222.176]) (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 CAF6341AC4 for ; Thu, 15 Jan 2026 21:57:35 -0500 (EST) Received: by mail-qk1-f176.google.com with SMTP id af79cd13be357-8c52c67f64cso174094585a.0 for ; Thu, 15 Jan 2026 18:57:35 -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.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Jan 2026 18:57:34 -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=1768532255; x=1769137055; 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=zMlgAINl0Ry/zfDZwnMXcNWRTVX/0X0ozAYsgnr4ODA=; b=R2ZnFfIY+TATXKKrPXaKfTFtnT6KYRHv0VM/jFM2zqoISYzQmE0+PKTffG/O9gkIBE fvr3EitAQfkhcJBDSfJoKmtATDbD0LQRYLmll0HcvC/vhSIjy2TUHZHSvtdYUuoAdprC q2yVLihU7r3LmO0FhHYxKiRt+Sug50RpTnddv/heCf1XI3OxSZTK7/fWE9amNFMDLMAh dpRQbIGG3F4Him78sdIaolztXumP8v/Is+us20m1SSeGaxXJ/SMKn/WV4v+XHttcmnE1 iD4/Req734rKjlMnTjKGrVWBT4y8UoxdCab/aZKE2qeKCRS/vLo+uKWdz9gabV20qXsV Yp6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1768532255; x=1769137055; 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=zMlgAINl0Ry/zfDZwnMXcNWRTVX/0X0ozAYsgnr4ODA=; b=MnSjBV6bas/2/2kGSQP2Vv4Dihe+edBXb8JerUebkGAwcbSj69lseuECBX+nmIIb1z IiO5eu0ERRC+YxiSTmpFnZ1pyET42HMDYDyIDpDcdY971J/+5b1vfQILmKwzCyAAthta NW3vgBklVSOXOVpm29uqpEWMg9WuVVf0jWV+Hu98DmdhbgUSoBdXL8V7bhctzoZZ6dz0 00u7/pFzzWp0Kluf4FrvrQreWDxfVVtj8F1FWlpo+k0R1lJOg//1xsVOrT5IMu+4Hxvo ZgaBAEEUp4JMGhcf1JVzy9coq59y2JuO2/x0cA6j7KOwxzgFCvnFUyP56A9ke0cXGM6Q xwRQ== X-Gm-Message-State: AOJu0Yw58FYIPjwQD0DWsP+7tiUJ94djR9g7eQYoFC0NPKSK87V/S/dX 6ej4JMcTIjGjJgPithjZbtDLNSYN720VBmxxuKDBVMn1n/Mg2zDEMEhIMjoDqg== X-Gm-Gg: AY/fxX4csioIZ3P/sGGebi2So7F8Ay3PhCkdCjZIrSgy4c7AEvYArh3HHOO4Yq9uC+F AcqLKh/t/UBGYGxDpk0S10j2DCGt6LJT+htMZoQakUK9P2vbxM7EYcwOKfocT1P4JWq4nepNDAC gARSVCY3q5DuVhmlqy7WLZNGXb0FoTvAbEfmFqODf7S3u8lv08/XP5jZ+EXzMlepxQ3nkAC7qzL G7FVyOS0fVOJg70kRa06FajXL5CY6RPgjNUaSTEC3IvkGjSXO6fDsl/RF9PqmgW+QE+jI1ErTyf 9SnmIADp2CypXavZ/twbHipJWj9Zt4/Kf0BAHnKzPkvDBBlBFVoCXMHckNgJ9DjrT7L6SAmPBnU bY8WYWzJGBgxjTQY2dNlcHUgrt+T3h/Srb/kBc99U2+QTcRuSIWD4Lo+pmp1Y2mHIokKfH5VWC+ Q= X-Received: by 2002:a05:620a:404c:b0:8b2:ea3f:2f91 with SMTP id af79cd13be357-8c6a67ac4a4mr237616785a.81.1768532255033; Thu, 15 Jan 2026 18:57:35 -0800 (PST) From: Julio Faracco To: devel@lists.libvirt.org Subject: [PATCH 2/8] conf: Update the type name mapping in the VIR_ENUM_IMPL macro Date: Thu, 15 Jan 2026 23:52:30 -0300 Message-ID: <20260116025708.18419-3-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: JI6KXR7FE2FCCDSA4SFTO4NANAK5OHNI X-Message-ID-Hash: JI6KXR7FE2FCCDSA4SFTO4NANAK5OHNI 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: 1768532415006158500 Content-Type: text/plain; charset="utf-8" This commit adds the string-to-enum mapping for "multitouch" in the VIR_ENUM_IMPL macro within src/conf/domain_conf.c. This mapping is essential for XML parsing and serialization, enabling libvirt to recognize "multitouch" as a valid value for the type attribute in input device definitions. When users specify type=3D'multitouch' in their domain XML, this mapping allows libvirt to convert the string to the VIR_DOMAIN_INPUT_TYPE_MULTITOUCH enum value internally. Without this mapping, libvirt would reject domain XML containing multitouch input devices as invalid. Signed-off-by: Julio Faracco --- src/conf/domain_conf.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 9ca5c2450c..aeb81fc42f 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -916,6 +916,7 @@ VIR_ENUM_IMPL(virDomainInput, "keyboard", "passthrough", "evdev", + "multitouch", ); =20 VIR_ENUM_IMPL(virDomainInputBus, --=20 2.52.0