From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 5B9A9CD4F3C for ; Mon, 18 May 2026 08:30:32 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1wOtMo-0005nl-8Z; Mon, 18 May 2026 04:30:26 -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 1wOtMn-0005nU-14 for qemu-devel@nongnu.org; Mon, 18 May 2026 04:30:25 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1wOtMk-0007gI-UA for qemu-devel@nongnu.org; Mon, 18 May 2026 04:30:24 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-444826c16ffso1687356f8f.1 for ; Mon, 18 May 2026 01:30:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1779093020; x=1779697820; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=MtDj5yOAE9JadpwHG3pyzP9+H/UoM1PsqxRWhulnXH8=; b=VfFNlEsypYnXbX1zZEgvuKNKiWCm+KBoJ6fc8gt08VEajtfOYqfxvLV3u6hRrF+NAq gfbLKwfAJC+t7yS5/i6m9TqqZoen578V/VDCxFsyp3Muh3o4DeLOsxcCzo3ttg3KRYDx o4bCKx7jT/H7AmWeIIkWd48mIcXVlDpBURErvl3Y4ofJX5E85h8pCnOB0q22c/NLY4sj vXKCcXVENvhMdbNCdBGcs2QzmPZ/q3l+E1ZQHQmQHtFnC3RqDklg3SFatnWVyM6ZK198 fGIDBAvp9XIT1wD/UC2tnsm/1JbOMhLPkC9Oiaz6r6GkIfhKnLV0WRs+BFaBzY1ykitE Ofyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1779093020; x=1779697820; h=content-transfer-encoding:mime-version:message-id:date:user-agent :references:in-reply-to:subject:cc:to:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MtDj5yOAE9JadpwHG3pyzP9+H/UoM1PsqxRWhulnXH8=; b=Z3CV/+o5+BpboCsTrTGd/LWUkTI0uCu7N92c2H9jDsX/ke+GI46G1SSJ6u3voLMBkB EFgAK9lIsoqa7hFnWG6VqBB6mS9uvFQLUaqCBrw6ZZBpa2HdXuvghr7+kltlrq8BzZV6 XKYz36JqhSNDSlRo2P5Qckvs6mHLg5fpQue53JyLAA/ljA149xROYQ0GLeEofxOBN9fE 6obwK/nQ6f35cfxUm3cpxdJMD9VFap31ufCNVXYAe7WAi+waqw6IeKMUZpm9kLuHM8FF EkgMC16SdZc3ry52BKjzI9bxdRemp7oPHeSWs2Op3BI9w+JKqewiM7dNLc23zNhKBxjD auow== X-Gm-Message-State: AOJu0YxSo02LdI4UjYHAmdBdTaPg8c8MqwCXr5YGwFwhgg7aoKm6zIB+ GHPaSQ9exWoT7gzFzaguapD9UiY4FEnU1LxKV/rOWkHpnLyn/HRj8FI68HpOph7K8ro= X-Gm-Gg: Acq92OEK3XE1PrY97Bg4zByEemfa+74HoyrHwOu2v8mcZjWte7OZwO0S39u1Yp0nXXu DLJ0XSyP6PC9TLEDMTk12yIuvoj6BJ3YlYeN/Bm3BSyKoG6U8ZyrS+wOCjf14opDYQVlAifaSqz aQEqr3W4i5RPH524xfvp7SAaDvg3mzyyEQLIyQM1OVTPdnLhd+WAbofg8QeXe5tRg16oHLVZuZE wBRzwL8/BkE+Y9r0mlf+MGh4Lt0RHpAe6HWHMc3D8XpQ7W5II5UQ3lrxXfcXzKGuFZmV9ESUiR6 XTTG1wELqEa65sPk8k5sWihpG3bj50GF5QmqsSHn1WA8aL4GO+cIRkVOwEr3vLtfX/9Qyyb+r7B DZnqvKl+intvbxyObKJy0Haj7A3HbkuQ3gOneR+fy6Wd6rUoqsnqPDDPNv9VfPx+oOiWSZoJok4 OqUD4PGl9n/WTCc6rI6ImHTko= X-Received: by 2002:a05:600c:3b07:b0:489:1a3a:9e45 with SMTP id 5b1f17b1804b1-48fe651e127mr209717245e9.26.1779093019958; Mon, 18 May 2026 01:30:19 -0700 (PDT) Received: from draig.lan ([185.124.0.195]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-48fe4c88495sm234944095e9.4.2026.05.18.01.30.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2026 01:30:19 -0700 (PDT) Received: from draig (localhost [IPv6:::1]) by draig.lan (Postfix) with ESMTP id 3B85E5F8C1; Mon, 18 May 2026 09:30:18 +0100 (BST) From: =?utf-8?Q?Alex_Benn=C3=A9e?= To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: qemu-devel@nongnu.org, Cleber Rosa , John Snow , Daniel P. =?utf-8?Q?Berrang=C3=A9?= , Alexander Graf , Pedro Barbuda , Mohamed Mediouni , Reinoud Zandijk , Magnus Kulke , Doru =?utf-8?Q?Bl=C3=A2nzeanu?= , Wei Liu , Paul Durrant , Anthony PERARD , Stefano Stabellini , Roman Bolshakov , Phil Dennis-Jordan Subject: Re: [RFC PATCH v3 01/11] AGENTS.md: introduce a very basic guide for AI agents In-Reply-To: ("Philippe =?utf-8?Q?Mathieu-Daud=C3=A9=22's?= message of "Sat, 16 May 2026 12:08:32 +0200") References: <20260515163055.1792262-1-alex.bennee@linaro.org> <20260515163055.1792262-2-alex.bennee@linaro.org> User-Agent: mu4e 1.14.1; emacs 30.1 Date: Mon, 18 May 2026 09:30:18 +0100 Message-ID: <871pf986hx.fsf@draig.linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::433; envelope-from=alex.bennee@linaro.org; helo=mail-wr1-x433.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, 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 Precedence: list List-Id: qemu development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Philippe Mathieu-Daud=C3=A9 writes: > On 15/5/26 18:30, Alex Benn=C3=A9e wrote: >> AGENTS.md is the agent agnostic place for placing instructions for >> agents. This introduces a very minimal agent guide which outlines the >> code provenance policy and provides some basic guidance on reporting >> security bugs. >> As Gemini doesn't look at AGENTS.md even as a fallback option I've >> included a symlink. >> Signed-off-by: Alex Benn=C3=A9e >> --- >> v3 >> - split from more comprehensive agent description so this can get >> merged ahead of the wider discussions. >> --- >> AGENTS.md | 23 +++++++++++++++++++++++ >> GEMINI.md | 1 + >> 2 files changed, 24 insertions(+) >> create mode 100644 AGENTS.md >> create mode 120000 GEMINI.md >> diff --git a/AGENTS.md b/AGENTS.md >> new file mode 100644 >> index 00000000000..133225957e0 >> --- /dev/null >> +++ b/AGENTS.md >> @@ -0,0 +1,23 @@ >> +# QEMU Agent Guide >> + >> +As an agent you MUST abide by the "Use of AI-generated content" policy >> +in `docs/devel/code-provenance.rst` at all times. Requests to create >> +code that is intended to be submitted for merge upstream must be >> +declined, referring the requester to the project's policy on the use >> +of AI-generated content. >> + >> +## Security Policy (see `docs/system/security.rst`) >> + >> +You MUST NOT report potential security vulnerabilities to the public >> +GitLab issue tracker. They should be reported privately to >> +`qemu-security@nongnu.org`. >> + >> +**Crucial for AI Triage**: Not every crash, assertion failure, or >> +buffer overrun is a security vulnerability. Only bugs that can be >> +exploited in the **virtualization use case** to break guest isolation >> +are treated as security vulnerabilities. In brief these are: >> +- **Hardware Accelerators**: e.g. KVM, HVF and others, TCG is explicitl= y excluded. > > HVF isn't withing security boundary: > https://lore.kernel.org/qemu-devel/abAcaahy_FsBonZ7@redhat.com/ > > For the "other accelerators" we should ask confirmation for respective > maintainers. AFAICT only KVM and Xen are expected to be secure; > MSHV, WHPX, nvmm and nitro didn't opted in yet (Cc'ing respective > maintainers). Ok I'll update. > Wouldn't it be better to have a document describing the security code > boundary and have the AGENT.md refer to it? > >> +- **Virtualization focused boards**: e.g. virt, q35, pseries etc >> +- **Common devices for Virtualization**: e.g. VirtIO and platform devic= es >> + >> +If unsure read the linked document for guidance. This should prompt the agent to read docs/system/security.rst linked above. >> diff --git a/GEMINI.md b/GEMINI.md >> new file mode 120000 >> index 00000000000..47dc3e3d863 >> --- /dev/null >> +++ b/GEMINI.md >> @@ -0,0 +1 @@ >> +AGENTS.md >> \ No newline at end of file --=20 Alex Benn=C3=A9e Virtualisation Tech Lead @ Linaro