Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2233102/?format=api
{ "id": 2233102, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2233102/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505170105.228162-6-alex.bennee@linaro.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.2/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "", "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260505170105.228162-6-alex.bennee@linaro.org>", "list_archive_url": null, "date": "2026-05-05T17:01:00", "name": "[RFC,05/10] .agents/skills: add qemu-build skill", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "297a83bde5d5a4588b03af041f2b575924b35d3a", "submitter": { "id": 39532, "url": "http://patchwork.ozlabs.org/api/1.2/people/39532/?format=api", "name": "Alex Bennée", "email": "alex.bennee@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505170105.228162-6-alex.bennee@linaro.org/mbox/", "series": [ { "id": 502869, "url": "http://patchwork.ozlabs.org/api/1.2/series/502869/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502869", "date": "2026-05-05T17:01:00", "name": "AGENTS.md and associated skills", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502869/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2233102/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2233102/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=wpZIysz1;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g94Z01myjz1yJ0\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 03:02:14 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wKJ9C-0007yk-9R; Tue, 05 May 2026 13:01:26 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>)\n id 1wKJ96-0007xB-Fv\n for qemu-devel@nongnu.org; Tue, 05 May 2026 13:01:21 -0400", "from mail-wm1-x335.google.com ([2a00:1450:4864:20::335])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <alex.bennee@linaro.org>)\n id 1wKJ92-0003TL-DX\n for qemu-devel@nongnu.org; Tue, 05 May 2026 13:01:19 -0400", "by mail-wm1-x335.google.com with SMTP id\n 5b1f17b1804b1-488e1a8ac40so53515125e9.2\n for <qemu-devel@nongnu.org>; Tue, 05 May 2026 10:01:12 -0700 (PDT)", "from draig.lan ([185.124.0.195]) by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a82301ad1sm651690355e9.9.2026.05.05.10.01.08\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 05 May 2026 10:01:10 -0700 (PDT)", "from draig.lan (localhost [IPv6:::1])\n by draig.lan (Postfix) with ESMTP id 72ABA60223;\n Tue, 05 May 2026 18:01:06 +0100 (BST)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1778000471; x=1778605271; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=JD3YO6kL2cJ5U6rd4ov7BMMOq4YRoEaGP/uPsPkdEWA=;\n b=wpZIysz1Ig2sTeZpkksPGvSNjHTEcw3nbeaGybGBXe9OB9nM8CXJoLLcK0/qfOmwyZ\n Ds91SUWW7cHp/ya5hg/jbWBNyYOz8atF38Wcs/ZoOqjs/3orEaVbnE37GX1LAWU7YlSl\n DiM+TM8v/XUQfDIw1DS9/sNnk7p0LdgVic3XPOD8Dl756xK20mtxOcHeTfIGev57wqMk\n zxSavASZXgaJ1LbgtJoIetyl6m7io5eZdtndA3FpNWR9taNgvjSyaLnfaSI+Mt1YR2Av\n plp6uxSMoU3tUwBbiJpsWE/nJGVmake3u5tYB9wmxlFf1aPLX4OzUSdgIZ9IxtxZ5FWd\n pblA==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778000471; x=1778605271;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=JD3YO6kL2cJ5U6rd4ov7BMMOq4YRoEaGP/uPsPkdEWA=;\n b=RwD/4AbM0TXxS2tU0ZZEpBqrBGUZ1IpLzA7jMjzEhnm/hxf5D6Ii0k/4sqj/zSXk/T\n rayRTEZ0P/IXzH5h8DgHV9j5mreWjtKSU+K6aqFEzFWYXrgI+h4DaJGBSPZ3G1eNXEhD\n 5wPu1MkvvPOVuJrZAF0SkEHB3qK+7vAi5rmSGaUghbhLAQNM9bU1RigL58ONQw/U55Eb\n 45mY4vRNpnjCOi7dFUzCvHssN7eufVjtq7tyhPF5eVilTzOZKP7HU8xwBkYmM7pkl3rw\n xOBkPp3GSkXsEpEa5pVJL6Zhhgb0YlNuS6Ka/87WGhYXb9WoQFhMyqzUVz2rq3NvuReb\n pPyA==", "X-Gm-Message-State": "AOJu0YygNh/rZXP+AKfaIycECehKPDc0GAe7H+c4GBcH9g+BwhYLmiA2\n MoKKYtvGVbmgJAC5O0ExfMYNCm6+GpsbWxhQpX3gsX0tFigR/LUfKMTnHexdOnUPVisB2RLBkSY\n DV389YdQ=", "X-Gm-Gg": "AeBDievYAa/cmFneDF347r9zka7chg3/n0URjAXyiG1li+mYkfPW5gQa62/L4oCxY8g\n 8g1SW+T/QolaVCBnRJPMRw6JNlTKg+dsY8HtSUcVnncJcAaHFv4+ZCIsMGKMykIjjSiczT1l3h/\n wbLnBH3PrftmeqnHq7Ef9x8zpVZKLCQzbrgXnBo8Ltfg/rm38QXoDaTEZzmzFhlA8GxGmiZXKO6\n ObOg3ZuhMw+lm5+7kBu1NFe28zwKpj85WUYkBwWu+AE7lrxUo2ZkGNAIrRHzJgn0rsq8yjpOjBj\n ML3/XGZKHBmICYy1kMT22l5FeinN5Nde9kcgrzERAP6wDJjVy3/uYWNMtj5L99KqSqLI8tqKG8h\n DuTZAJbC70WUACTDjvW7Q2Hk9ijdLtVWHbtgrCrLgJb95oNU5SONnAHdKbDPk24DduWN8HysMdi\n 5qyvW9ffXzXNczrnwjcTu99iPAzbLuaXGXDg==", "X-Received": "by 2002:a05:600c:4449:b0:48a:89d9:a419 with SMTP id\n 5b1f17b1804b1-48e51f2e67fmr1143785e9.11.1778000471044;\n Tue, 05 May 2026 10:01:11 -0700 (PDT)", "From": "=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>", "To": "qemu-devel@nongnu.org", "Cc": "=?utf-8?q?Alex_Benn=C3=A9e?= <alex.bennee@linaro.org>", "Subject": "[RFC PATCH 05/10] .agents/skills: add qemu-build skill", "Date": "Tue, 5 May 2026 18:01:00 +0100", "Message-ID": "<20260505170105.228162-6-alex.bennee@linaro.org>", "X-Mailer": "git-send-email 2.47.3", "In-Reply-To": "<20260505170105.228162-1-alex.bennee@linaro.org>", "References": "<20260505170105.228162-1-alex.bennee@linaro.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2a00:1450:4864:20::335;\n envelope-from=alex.bennee@linaro.org; helo=mail-wm1-x335.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,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n 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 <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "This provides basic instructions for building QEMU.\n\nSigned-off-by: Alex Bennée <alex.bennee@linaro.org>\n---\n .agents/skills/qemu-build/SKILL.md | 50 ++++++++++++++++++++++++++++++\n 1 file changed, 50 insertions(+)\n create mode 100644 .agents/skills/qemu-build/SKILL.md", "diff": "diff --git a/.agents/skills/qemu-build/SKILL.md b/.agents/skills/qemu-build/SKILL.md\nnew file mode 100644\nindex 00000000000..a78678ff632\n--- /dev/null\n+++ b/.agents/skills/qemu-build/SKILL.md\n@@ -0,0 +1,50 @@\n+---\n+name: qemu-build\n+description: Provides step-by-step instructions on configuring and building QEMU. You MUST trigger this skill whenever the user asks to build QEMU or debug build failures. It includes critical details on build directory reuse and spawning sub-agents.\n+license: GPL-2.0-or-later\n+---\n+\n+# Instructions\n+\n+## Examining and Re-using Build Directories\n+Before creating a new build directory, check if an existing one can be re-used. QEMU uses out-of-tree builds, typically in `build` or `builds/` sub-directories.\n+\n+1. **Check existing configs**: You can examine how an existing build directory was configured by checking its `config.log`. Run `head -n 2 builds/<dir>/config.log`. The second line typically contains the full `../configure` command line used.\n+2. **Re-use and Reconfigure**: You have latitude to re-use existing directories when appropriate (e.g., `builds/debug` which is a general-purpose debug directory for whatever is currently going on). If an existing directory has the right flags (like debug/sanitizers) but the wrong target list, you can reconfigure it to keep the same config but change the `--target-list`:\n+ ```bash\n+ cd builds/debug\n+ # Check the old config.log, then re-run configure with the new target-list\n+ ../../configure <old-flags> --target-list=<new-targets>\n+ ```\n+\n+## Launching Builds\n+**Crucial**: You MUST NEVER run builds directly in the main agent context. You MUST ALWAYS launch them by spawning a sub-agent using the `eca__spawn_agent` tool.\n+Always use the `qemu-helper-agent` for these tasks.\n+Pass the specific build commands, along with the required working directory, in the `task` argument. Give the subagent explicit instructions on what to verify and what to report back to you.\n+For example: `task: \"Navigate to builds/debug and run ninja. If it fails, report the exact compiler errors.\"`\n+\n+## Configuring a New Build\n+If no suitable build directory exists, create a new one.\n+\n+1. **Create build directory**: `mkdir -p builds/test-target; cd builds/test-target`\n+2. **Basic Configure**: `../../configure --target-list=[list of targets]`\n+ - Common targets: `x86_64-softmmu`, `aarch64-softmmu`, `riscv64-softmmu`, `x86_64-linux-user`.\n+3. **Common Options**:\n+ - `--enable-debug-info`: Include symbols.\n+ - `--enable-debug`: Enable assertions.\n+4. **Sanitizers**:\n+ - `--enable-asan`: Address Sanitizer.\n+ - `--enable-tsan`: Thread Sanitizer.\n+ - `--enable-ubsan`: Undefined Behavior Sanitizer.\n+\n+## Building\n+**Important**: Always re-run the build after making changes to the source code.\n+\n+## Reporting Results\n+**Crucial**: After completing the build task, provide a concise summary of the results to the calling agent.\n+1. **Summary**: State whether the build passed or failed.\n+2. **Failure Excerpts**: If the build fails, include relevant excerpts from the logs (e.g., compiler errors).\n+3. **Full Paths**: Always provide the **absolute file paths** to the full logs for further inspection.\n+\n+## Debugging and Environment\n+- **Verbose**: `V=1` for detailed output.\n", "prefixes": [ "RFC", "05/10" ] }