Show a patch.

GET /api/patches/26040/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 26040,
    "url": "https://patchwork.libcamera.org/api/patches/26040/?format=api",
    "web_url": "https://patchwork.libcamera.org/patch/26040/",
    "project": {
        "id": 1,
        "url": "https://patchwork.libcamera.org/api/projects/1/?format=api",
        "name": "libcamera",
        "link_name": "libcamera",
        "list_id": "libcamera_core",
        "list_email": "libcamera-devel@lists.libcamera.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260129124909.1258870-2-barnabas.pocze@ideasonboard.com>",
    "date": "2026-01-29T12:49:09",
    "name": "[libcamera-ci,v3,2/2] Update virtme-ng to 1.40",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": false,
    "hash": "11024e6ff7c235053524bdff4ec16867aec87101",
    "submitter": {
        "id": 216,
        "url": "https://patchwork.libcamera.org/api/people/216/?format=api",
        "name": "Barnabás Pőcze",
        "email": "barnabas.pocze@ideasonboard.com"
    },
    "delegate": null,
    "mbox": "https://patchwork.libcamera.org/patch/26040/mbox/",
    "series": [
        {
            "id": 5756,
            "url": "https://patchwork.libcamera.org/api/series/5756/?format=api",
            "web_url": "https://patchwork.libcamera.org/project/libcamera/list/?series=5756",
            "date": "2026-01-29T12:49:08",
            "name": "[libcamera-ci,v3,1/2] Move kvm tests and cross compilation to debian 13",
            "version": 3,
            "mbox": "https://patchwork.libcamera.org/series/5756/mbox/"
        }
    ],
    "comments": "https://patchwork.libcamera.org/api/patches/26040/comments/",
    "check": "pending",
    "checks": "https://patchwork.libcamera.org/api/patches/26040/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<libcamera-devel-bounces@lists.libcamera.org>",
        "X-Original-To": "parsemail@patchwork.libcamera.org",
        "Delivered-To": "parsemail@patchwork.libcamera.org",
        "Received": [
            "from lancelot.ideasonboard.com (lancelot.ideasonboard.com\n\t[92.243.16.209])\n\tby patchwork.libcamera.org (Postfix) with ESMTPS id DD08CC3226\n\tfor <parsemail@patchwork.libcamera.org>;\n\tThu, 29 Jan 2026 12:49:17 +0000 (UTC)",
            "from lancelot.ideasonboard.com (localhost [IPv6:::1])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTP id 9049161FD5;\n\tThu, 29 Jan 2026 13:49:17 +0100 (CET)",
            "from perceval.ideasonboard.com (perceval.ideasonboard.com\n\t[IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 5EADD615B2\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tThu, 29 Jan 2026 13:49:14 +0100 (CET)",
            "from pb-laptop.local (185.221.142.123.nat.pool.zt.hu\n\t[185.221.142.123])\n\tby perceval.ideasonboard.com (Postfix) with ESMTPSA id 22E2E2147;\n\tThu, 29 Jan 2026 13:48:35 +0100 (CET)"
        ],
        "Authentication-Results": "lancelot.ideasonboard.com; dkim=pass (1024-bit key;\n\tunprotected) header.d=ideasonboard.com header.i=@ideasonboard.com\n\theader.b=\"EjIakKhv\"; dkim-atps=neutral",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com;\n\ts=mail; t=1769690916;\n\tbh=DZZCLyq+uKcnNRCm6t+E0e4qk2PXVJjIoIyqjVrRg84=;\n\th=From:To:Cc:Subject:Date:In-Reply-To:References:From;\n\tb=EjIakKhvqyggDsn2NpJN5ZBW8jXC9/bqKOuSVyTgi/f5KfwDSvwF2s85eF2oT8gJc\n\toqqPGdCYbgSq/UJwaxSmCbxvv/TXFgSe30iTalsKfBhnX+mmgqHS7kx/o3pa56IBT9\n\tYR7ot9UPAal5LUGw1DtkererSTA/yuGpHcrDMe9g=",
        "From": "=?utf-8?q?Barnab=C3=A1s_P=C5=91cze?= <barnabas.pocze@ideasonboard.com>",
        "To": "libcamera-devel@lists.libcamera.org",
        "Cc": "Laurent Pinchart <laurent.pinchart@ideasonboard.com>",
        "Subject": "[libcamera-ci] [PATCH v3 2/2] Update virtme-ng to 1.40",
        "Date": "Thu, 29 Jan 2026 13:49:09 +0100",
        "Message-ID": "<20260129124909.1258870-2-barnabas.pocze@ideasonboard.com>",
        "X-Mailer": "git-send-email 2.52.0",
        "In-Reply-To": "<20260129124909.1258870-1-barnabas.pocze@ideasonboard.com>",
        "References": "<20260129124909.1258870-1-barnabas.pocze@ideasonboard.com>",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain; charset=UTF-8",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "libcamera-devel@lists.libcamera.org",
        "X-Mailman-Version": "2.1.29",
        "Precedence": "list",
        "List-Id": "<libcamera-devel.lists.libcamera.org>",
        "List-Unsubscribe": "<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>",
        "List-Archive": "<https://lists.libcamera.org/pipermail/libcamera-devel/>",
        "List-Post": "<mailto:libcamera-devel@lists.libcamera.org>",
        "List-Help": "<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>",
        "List-Subscribe": "<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>",
        "Errors-To": "libcamera-devel-bounces@lists.libcamera.org",
        "Sender": "\"libcamera-devel\" <libcamera-devel-bounces@lists.libcamera.org>"
    },
    "content": "This enables the removal of the exit code workaround since the exit code is\nnow propagated to the host[0]. However, the single argument `--rwdir` does\nnot work as it did in 1.18, and the `<path>=<path>` form must be used\notherwise virtme-ng refuses to start[1]:\n\n  error: cannot initialize <path> inside the guest (path must be defined inside a valid overlay)\n\n[0]: https://github.com/arighi/virtme-ng/pull/61\n[1]: https://github.com/arighi/virtme-ng/issues/409\n\nSigned-off-by: Barnabás Pőcze <barnabas.pocze@ideasonboard.com>\n---\nchanges in v3:\n  * do not mount tmpfs to /tmp\n    (requires https://patchwork.libcamera.org/patch/26038/)\n\nv2: https://patchwork.libcamera.org/patch/25957/\n---\n .gitlab-ci/test-lc-compliance.sh  | 6 ++----\n .gitlab-ci/test-libcamera-qemu.sh | 7 +++----\n gitlab-ci.yml                     | 2 +-\n 3 files changed, 6 insertions(+), 9 deletions(-)\n\n--\n2.52.0",
    "diff": "diff --git a/.gitlab-ci/test-lc-compliance.sh b/.gitlab-ci/test-lc-compliance.sh\nindex 6208723..a888cae 100755\n--- a/.gitlab-ci/test-lc-compliance.sh\n+++ b/.gitlab-ci/test-lc-compliance.sh\n@@ -14,7 +14,7 @@ libcamera_compliance() {\n \t\t--verbose \\\n \t\t--skip-modules \\\n \t\t--force-9p \\\n-\t\t--rwdir \"$PWD/build\" \\\n+\t\t--rwdir \"$PWD/build=$PWD/build\" \\\n \t\t--run /opt/linux/bzImage \\\n \t\t--exec \" \\\n \t\t\tset -x; \\\n@@ -25,12 +25,10 @@ libcamera_compliance() {\n \t\t\tUBSAN_OPTIONS=halt_on_error=1:abort_on_error=1:print_summary=1:print_stacktrace=1 \\\n \t\t\tGTEST_OUTPUT=xml:./build/lc-compliance-report.xml \\\n \t\t\tlc-compliance -c Virtual0; \\\n-\t\t\techo \\\\\\$? > ./build/.test-status; \\\n \t\t\"\n\n-\tlocal status=$(cat build/.test-status)\n+\tlocal status=$?\n \techo \"Test result exit state: $status\"\n-\trm build/.test-status\n\n \tif [[ $status != 0 ]] ; then\n \t\texit $status\ndiff --git a/.gitlab-ci/test-libcamera-qemu.sh b/.gitlab-ci/test-libcamera-qemu.sh\nindex f9de5ab..7a05137 100755\n--- a/.gitlab-ci/test-libcamera-qemu.sh\n+++ b/.gitlab-ci/test-libcamera-qemu.sh\n@@ -24,13 +24,12 @@ libcamera_unit_test() {\n \techo \"Running libcamera tests in a qemu VM\"\n\n \tvirtme-ng --verbose --skip-modules --force-9p \\\n-\t\t--rwdir \"$PWD/build\" \\\n+\t\t--rwdir \"$PWD/build=$PWD/build\" \\\n \t\t--run /opt/linux/bzImage \\\n-\t\t--exec \"meson test -C build --no-rebuild --print-errorlogs; echo \\\\\\$? > build/.test-status\"\n+\t\t--exec \"meson test -C build --no-rebuild --print-errorlogs\"\n\n-\tlocal status=$(cat build/.test-status)\n+\tlocal status=$?\n \techo \"Test result exit state: $status\"\n-\trm build/.test-status\n\n \tif [[ $status != 0 ]] ; then\n \t\texit $status\ndiff --git a/gitlab-ci.yml b/gitlab-ci.yml\nindex bd5df66..3f80cb8 100644\n--- a/gitlab-ci.yml\n+++ b/gitlab-ci.yml\n@@ -34,7 +34,7 @@ variables:\n     ca-certificates\n     git\n   VIRTME_GIT_URL: 'https://github.com/arighi/virtme-ng.git'\n-  VIRTME_GIT_REF: 'v1.18'\n+  VIRTME_GIT_REF: 'v1.40'\n\n # Jobs that test individual commits need more history to find the common\n # ancestor of the branch being tested and the default branch. Fetch up to 100\n",
    "prefixes": [
        "libcamera-ci",
        "v3",
        "2/2"
    ]
}