[{"id":3681888,"web_url":"http://patchwork.ozlabs.org/comment/3681888/","msgid":"<aeswZxFn0zMj-3jb@redhat.com>","list_archive_url":null,"date":"2026-04-24T08:57:11","subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","submitter":{"id":2694,"url":"http://patchwork.ozlabs.org/api/people/2694/","name":"Daniel P. Berrangé","email":"berrange@redhat.com"},"content":"On Fri, Apr 24, 2026 at 11:19:39AM +0300, Elisey Konstantinov wrote:\n> From 517099e65de1e2ad3d0f33d3c4a7a71f8728279c Mon Sep 17 00:00:00 2001\n> From: Elisey <elisey.konstantinov@gmail.com>\n> Date: Mon, 23 Mar 2026 16:02:45 +0100\n> Subject: [PATCH] build: prefer sigaltstack over ucontext on Linux\n> \n> sigaltstack coroutine backend is more stable on some Linux\n> configurations, while ucontext causes boot failures for certain\n> PPC Mac OS X guests (issue #3276).\n> Select sigaltstack first when available, keeping ucontext as fallback\n> until the underlying issue is resolved.\n\nIMHO there needs to be a greater investigation in to why ucontext\nwould be demonstrating the failure. ucontext has been the default\non Linux for QEMU for decades without significant issues, so my\nconcern is that switching to sigaltstack is not fixing the root\ncause of the bug you see, just masking it by luck.\n\nThe choice of coroutine backend can also be performance sensitive\nand so changing it is something that would need to also bring\nalong performance benchmark data to illustrate the likely impact\nof the change.\n\n> \n> Signed-off-by: Elisey Konstantinov <elisey.konstantinov@gmail.com>\n> ---\n>  meson.build | 4 +++-\n>  1 file changed, 3 insertions(+), 1 deletion(-)\n> \n> diff --git a/meson.build b/meson.build\n> index ab3e97eb9f..742655e007 100644\n> --- a/meson.build\n> +++ b/meson.build\n> @@ -505,10 +505,12 @@ if host_os == 'windows'\n>  elif host_os == 'emscripten'\n>    supported_backends += ['wasm']\n>  else\n> +  # FIXME: This is a temporary workaround!\n> +  # SigAltStack is in higher priority to fix #3276\n> +  supported_backends += ['sigaltstack']\n>    if host_os != 'darwin' and cc.links(ucontext_probe)\n>      supported_backends += ['ucontext']\n>    endif\n> -  supported_backends += ['sigaltstack']\n>  endif\n>  \n>  if coroutine_backend == 'auto'\n> -- \n> 2.50.1 (Apple Git-155)\n>","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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=KIbr8M01;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=pR41Gf0q;\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 4g26M741Jmz1xvV\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 18:58:43 +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 1wGCMZ-0005Gm-Tn; Fri, 24 Apr 2026 04:58:16 -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 <berrange@redhat.com>)\n id 1wGCMS-0005Fd-1D\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 04:58:08 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <berrange@redhat.com>)\n id 1wGCMJ-0004K4-KY\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 04:58:07 -0400","from mail-wr1-f70.google.com (mail-wr1-f70.google.com\n [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-533-1PyWoYLOMpS1pJflo3gk0Q-1; Fri, 24 Apr 2026 04:57:15 -0400","by mail-wr1-f70.google.com with SMTP id\n ffacd0b85a97d-43d1fec59c9so4782245f8f.0\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 01:57:15 -0700 (PDT)","from redhat.com ([2a02:8012:f011:0:f1ce:ac56:d2cd:7c2e])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43fe4cb1176sm60118353f8f.3.2026.04.24.01.57.12\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 24 Apr 2026 01:57:13 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777021048;\n h=from:from:reply-to:reply-to:subject:subject:date:date:\n message-id:message-id:to:to:cc:cc:mime-version:mime-version:\n content-type:content-type:in-reply-to:in-reply-to:  references:references;\n bh=CjBtANV5LJakafNPsRmDAUm6PVbNsA4rWkS1MCJQKBQ=;\n b=KIbr8M01hohJyRsMJ5ilBDXYKbFFtSPir52nEQ+AUECMrjQY8aVgKKY2aQY+5G+k6OrmYR\n lFgsabrB8SmhHGFyKsbZZBpARlP4waGzdYuazm26ZAjlZLgK08eC5p25mIQK71bjVyswZW\n yHkPQK+6EeQ5crpvMe0XSG/DEZSbogA=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777021034; x=1777625834; darn=nongnu.org;\n h=user-agent:in-reply-to:content-disposition:mime-version:references\n :reply-to:message-id:subject:cc:to:from:date:from:to:cc:subject:date\n :message-id:reply-to;\n bh=CjBtANV5LJakafNPsRmDAUm6PVbNsA4rWkS1MCJQKBQ=;\n b=pR41Gf0q68PI8mI1eKP55NhKEwiDpgsOwUQQxk+ERxEGESacw1mk0U0D+OiKdjZ4SZ\n ekRNY/Ji7W1Tuxyg7r/3Nc7RGoMTrnb8x68F+FK1w5PvDen7EKAKsfGxKbeoegexIgP1\n QiwcFOCTMX/bp+9SdYL/c84YAWBQFAY2q7FBNzBbCdHLpW0lhMKFN7+jWdvB+pBJfCIO\n uSnjVpTZ/nWpXrc83gCdI7gz/gtyUZUvA2oG2aLhBeX/Dv7YpAJuZFR0xje5dR6R6p9E\n 5d/oKlFEnWoeyoEFoKGRerg9U7Wgq2UmA/ANGNFPM9rz2fyX7ZO1NRBjvT5wLpkw9rQB\n b/Pg=="],"X-MC-Unique":"1PyWoYLOMpS1pJflo3gk0Q-1","X-Mimecast-MFC-AGG-ID":"1PyWoYLOMpS1pJflo3gk0Q_1777021034","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777021034; x=1777625834;\n h=user-agent:in-reply-to:content-disposition:mime-version:references\n :reply-to:message-id:subject:cc:to:from:date:x-gm-gg\n :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;\n bh=CjBtANV5LJakafNPsRmDAUm6PVbNsA4rWkS1MCJQKBQ=;\n b=I30FU7Mb13SBtEWyVvagSN47FwVpcbgjIhotzQ9VLzAzmjUtWHkBA6YAVMgXq47Jft\n uqX3lXgLWhdPQfcO7MsunLxCxXrm2X4d3ATrTCBFujEkSCTztNjHloh3aixHmEk6+/mY\n HouHFtNwobM6c5yHRN3ImjuZKquUSSPETSs7Fs+dAgfZdC5rbSOT6U8G9PyNfQ9DubhK\n zHSnyms6RxxqHqi5GyY6YNbGxpF8BIgDAIu48DXSmRANl6Us3mDBxJZZfng2iUieM+Oy\n ck0DUqNJF47SfwE8n1UbRq0iNjGouEN9cPXfH0fzYzNzGoPS6D0W+2UB2xWydYAjMCQC\n YQtQ==","X-Gm-Message-State":"AOJu0YyfsWxtD/KuUpwFHgCUcMic+gFvqpTgHX/aKQUrobCZFOsdHEAj\n 4oVIBumfNI+G/nmiSCVrM5MLvy3Zxfxra22SvNEy7NUgSXBQc3JBS1eOq8m4lKxamARYudk4j/c\n MVdHDeDPV1xt7Vz7pQCkaj497etwRjmFu4m3+pXbgd4oqorJCWsuflOp2","X-Gm-Gg":"AeBDieuSFwrh3O7u0lh0CuvIG04HdfatDE32S3U7+jWliofCuDOWBh9R3IHxFRys54D\n g6EpC3jdqk9G3u0g1JdbhCv62sHBARjtMP07AfOc/bZSAFwaRi5xXvMCWQoBoE/M6G+USzGny+M\n sgCiWadYmPLmcoVaaEmVMDWJvHSEnzFEX36Y08SqnoCZB/GBRzL+XiaRPT1ixguKP40IUJqkZ5y\n gm7/8GivYlcv8NeGs4+ss9RcDPvHNG2K0iQ7MLDSWq6ldk7Fxaz73W10pd4FLiKQceaeYO0NIYl\n yJw7X7LaJ3DSYH0Wxkivhe0iEYIq9/TkJ+IrnCpCwjRsZn4FarmCr7SXYycJZiVvkQT4PHQvgzx\n efP2dFwYylS2ewiE92uVeLcxFiW33LA==","X-Received":["by 2002:a05:6000:2505:b0:43d:1598:2d6e with SMTP id\n ffacd0b85a97d-43fe407c3camr47587600f8f.20.1777021034019;\n Fri, 24 Apr 2026 01:57:14 -0700 (PDT)","by 2002:a05:6000:2505:b0:43d:1598:2d6e with SMTP id\n ffacd0b85a97d-43fe407c3camr47587561f8f.20.1777021033516;\n Fri, 24 Apr 2026 01:57:13 -0700 (PDT)"],"Date":"Fri, 24 Apr 2026 09:57:11 +0100","From":"Daniel =?utf-8?b?UC4gQmVycmFuZ8Op?= <berrange@redhat.com>","To":"Elisey Konstantinov <elisey.konstantinov@gmail.com>","Cc":"qemu-devel@nongnu.org, pbonzini@redhat.com, marcandre.lureau@redhat.com,\n philmd@linaro.org","Subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","Message-ID":"<aeswZxFn0zMj-3jb@redhat.com>","References":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","In-Reply-To":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>","User-Agent":"Mutt/2.3.1 (2026-03-20)","Received-SPF":"pass client-ip=170.10.129.124;\n envelope-from=berrange@redhat.com;\n helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-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 <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>","Reply-To":"Daniel =?utf-8?b?UC4gQmVycmFuZ8Op?= <berrange@redhat.com>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"}},{"id":3681908,"web_url":"http://patchwork.ozlabs.org/comment/3681908/","msgid":"<06C2CFB8-BA33-46D6-9F84-B1F81A2A319E@gmail.com>","list_archive_url":null,"date":"2026-04-24T09:19:19","subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","submitter":{"id":93247,"url":"http://patchwork.ozlabs.org/api/people/93247/","name":"Elisey Konstantinov","email":"elisey.konstantinov@gmail.com"},"content":"I completely agree, but in my opinion, investigating UContext will take a considerable amount of time, which is why I took the liberty of proposing this patch; in the commit message, I actually mention that this is merely a “temporary  workaround”\n\nSo, I suggest:\n- Merging the patch into the mainstream for the convenience of users (as, from what I’ve observed, SigAltStack is coping quite well with the task, at least for now...)\n- Whilst leaving #3276 open for the time being and continuing the UContext diagnostics there\n- And accordingly, as soon as UContext is fully functional, we can switch QEMU back from SigAltStack\n\nAlso the another arrangement is to use UContext ONLY if PPC is in the build targets, but I am unable to do this, as my knowledge of Meson is insufficient for such a task; nevertheless, I would be grateful for any assistance :)\n\nP. S. Anticipating such a reaction, I DELIBERATELY did not include “Resolves” in the patch notes, so I am fully aware of all the proposed precautions","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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=IS6h0o/Y;\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 4g26qw5p3vz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 19:20:11 +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 1wGCh9-0005bE-65; Fri, 24 Apr 2026 05:19:31 -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 <elisey.konstantinov@gmail.com>)\n id 1wGCh6-0005al-Jb\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 05:19:28 -0400","from mail-wm1-x336.google.com ([2a00:1450:4864:20::336])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <elisey.konstantinov@gmail.com>)\n id 1wGCh5-0004TI-1d\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 05:19:28 -0400","by mail-wm1-x336.google.com with SMTP id\n 5b1f17b1804b1-4890098abbaso57075465e9.0\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 02:19:26 -0700 (PDT)","from smtpclient.apple ([5.32.173.67])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a5aa3ae83sm343497725e9.12.2026.04.24.02.19.24\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Fri, 24 Apr 2026 02:19:24 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777022365; x=1777627165; darn=nongnu.org;\n h=to:references:message-id:content-transfer-encoding:cc:date\n :in-reply-to:from:subject:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=8XwcBXcJkhhXdDyD+XO1ZeuuHgJnTle9Xw2pCx44y2s=;\n b=IS6h0o/Yv0ifiU5uFlVnmsA9s4mdFi3w4PHW2fDULxLKTqzDO5rZjTpB4PPC4Vk4VS\n 7u3VQ0p7OvGQhVjBg7EybGxdQb/jQXzh1/QNw1sqjG2BDUbyJsTxiHKbbxlF9njOl9IK\n pjiSrUs4A0DL7B/DRANL56RXgGFcF1Kx8OSHOrII00aHS5aOZ88rJ0Myge7W2uI/p+hz\n u//MMFjLyVY8vqvic5HtTe74TzmVNY66pT6J4Zj3hgTwnllFEXPUtUMAxpgA2mdS96Jy\n ls0mAiltk4Ou/+93CnX4BMtxq1+uDGS1KKZJrpwq0+fofa2l4nPltvyubUESxb6mKa43\n d3rw==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777022365; x=1777627165;\n h=to:references:message-id:content-transfer-encoding:cc:date\n :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state\n :from:to:cc:subject:date:message-id:reply-to;\n bh=8XwcBXcJkhhXdDyD+XO1ZeuuHgJnTle9Xw2pCx44y2s=;\n b=myfXd0HaKVTH8SraNsz2FNwBkAXHiPOLT11FPTpHEE9Y42i0q7VRzoh+l7+LAgiFQH\n ZK8HhtAY6WQD/Ew5PiuKn7aaen7Sat+8622FQ9ZfvlhZAL9qSaFIggF0Jhg1YSCTyzTj\n xXEyyJRGPYdyCc8ubaXgVs0WNR/CteFfbNS8eAMTcjGknPcDF72G7uRkE7CkX5zS9xwQ\n mUvxZ7S1lpI3BmFFoG/uvbu8+LCTnAHmNnQxn8/fbvYqs0SEumNlBuqkPpPzcLKm9eXQ\n 5dVnpfIqNvH76kSPkXkINA5zDzp0eswXOn3HN97DhDIseW5i2t3/YENTh6xekKq6ZBFk\n RW/g==","X-Gm-Message-State":"AOJu0YwQP6TnfIQY1lwFEf3FoIHcaTBUyp6wWJYGH5eGm2sWKaPuwQzh\n fjsYWR35LmGsr+WouEf1o4dJLCL9e6k4o7/Hma+IYtwLtyY/Y3AM2k1M","X-Gm-Gg":"AeBDievqNLcLyx3ORSNbI6X0Ku6AyGyIXT5gaeVupj/fmrZxyrQuyt6hMkSxIRXPPja\n DHojP9j7F5Zvgdphc91ukZEScu0rSc+riBBA5cwIpbz/ibVVEri/PJWPJQis+8RFnTu+uKVeLaR\n HijnqJ2b+TWJVfixTBF+iN0gDXRfNK5/fPheJzJ3adHy0RvKMR8yVVq+grRA2j5Nfamy4ORKaAB\n hYxRXA/AMHsZlHVYuAE9D3hIa6UJZhl3cWQ0S/fpXMekfm1tnZZu2FK1YwIQ6HD/QkDp+X4Fy4V\n MrOsMyZ3zqmXwu16ZyZdMrY9OYQrhTzYJjxOi5hAQQBnGls7wUS/N27Pzc+qk9jX/awjpY3YaD2\n /kPGIaP1p0LaEfCp4o5U6xp3RF4P29x0Qdo0oGq932R/v1FJbFqaY2fszO2q8xqvoeegb9woOEh\n mmoX3mOyXvvKhiHOSksPaGleDtZrrZESvRJA5CoCj4naAgWB4YAZPvRs6ildoXoDpgxsP7wkC0+\n 6Q=","X-Received":"by 2002:a05:600c:1e28:b0:483:7903:c3b1 with SMTP id\n 5b1f17b1804b1-488fb77fbf3mr441150775e9.20.1777022365072;\n Fri, 24 Apr 2026 02:19:25 -0700 (PDT)","Content-Type":"text/plain;\n\tcharset=utf-8","Mime-Version":"1.0 (Mac OS X Mail 16.0 \\(3864.500.181\\))","Subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","From":"Elisey Konstantinov <elisey.konstantinov@gmail.com>","In-Reply-To":"<aeswZxFn0zMj-3jb@redhat.com>","Date":"Fri, 24 Apr 2026 12:19:19 +0300","Cc":"qemu-devel@nongnu.org, pbonzini@redhat.com, marcandre.lureau@redhat.com,\n philmd@linaro.org","Content-Transfer-Encoding":"quoted-printable","Message-Id":"<06C2CFB8-BA33-46D6-9F84-B1F81A2A319E@gmail.com>","References":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>\n <aeswZxFn0zMj-3jb@redhat.com>","To":"=?utf-8?b?IkRhbmllbCBQLiBCZXJyYW5nw6ki?= <berrange@redhat.com>","X-Mailer":"Apple Mail (2.3864.500.181)","Received-SPF":"pass client-ip=2a00:1450:4864:20::336;\n envelope-from=elisey.konstantinov@gmail.com; helo=mail-wm1-x336.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, FREEMAIL_FROM=0.001,\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"}},{"id":3681913,"web_url":"http://patchwork.ozlabs.org/comment/3681913/","msgid":"<aes4kEdQ_x8eI-m6@redhat.com>","list_archive_url":null,"date":"2026-04-24T09:32:00","subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","submitter":{"id":2694,"url":"http://patchwork.ozlabs.org/api/people/2694/","name":"Daniel P. Berrangé","email":"berrange@redhat.com"},"content":"On Fri, Apr 24, 2026 at 12:19:19PM +0300, Elisey Konstantinov wrote:\n> I completely agree, but in my opinion, investigating UContext will take a considerable amount of time, which is why I took the liberty of proposing this patch; in the commit message, I actually mention that this is merely a “temporary  workaround”\n> \n> So, I suggest:\n> - Merging the patch into the mainstream for the convenience of users (as, from what I’ve observed, SigAltStack is coping quite well with the task, at least for now...)\n> - Whilst leaving #3276 open for the time being and continuing the UContext diagnostics there\n> - And accordingly, as soon as UContext is fully functional, we can switch QEMU back from SigAltStack\n> \n> Also the another arrangement is to use UContext ONLY if PPC is in the build targets, but I am unable to do this, as my knowledge of Meson is insufficient for such a task; nevertheless, I would be grateful for any assistance :)\n> \n> P. S. Anticipating such a reaction, I DELIBERATELY did not include “Resolves” in the patch notes, so I am fully aware of all the proposed precautions\n\nPPC MacOS guest is such a niche use case, that I don't see a compelling\nreason to make such a change in git until the ticket has been fully\ninvestigated and the problem root caused.","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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=bJSFQAcc;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=PW53geS/;\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 4g276C2Gm7z1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 19:32:33 +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 1wGCtR-00063y-Eq; Fri, 24 Apr 2026 05:32:13 -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 <berrange@redhat.com>)\n id 1wGCtP-00063O-OH\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 05:32:11 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <berrange@redhat.com>)\n id 1wGCtN-0002Y8-9y\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 05:32:11 -0400","from mail-wr1-f69.google.com (mail-wr1-f69.google.com\n [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-390-ntPv-xtjPeClDPf_v80SWg-1; Fri, 24 Apr 2026 05:32:05 -0400","by mail-wr1-f69.google.com with SMTP id\n ffacd0b85a97d-43d1fec59c9so4812037f8f.0\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 02:32:05 -0700 (PDT)","from redhat.com ([2a02:8012:f011:0:f1ce:ac56:d2cd:7c2e])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43fe4cb1405sm59101456f8f.4.2026.04.24.02.32.02\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 24 Apr 2026 02:32:02 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777023127;\n h=from:from:reply-to:reply-to:subject:subject:date:date:\n message-id:message-id:to:to:cc:cc:mime-version:mime-version:\n content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=DJAkUBjtt/FwIyPPxsftVyolb9XL1ywmNYUToUTrlnY=;\n b=bJSFQAccZ9xh665i8ne2O688HspYza5BMpaPyeLkiddvRzSmw4ZR7/0SXEcZLmygc7jgdV\n qfXMm+zL8XckXZZT33recIYp66DNPNOlxfSEDtYMIwbvuPafGfaTX1ALg8/ACQ3FNuZals\n eIirnNYQHd1hY4we86My0Bcxfy/FC7Y=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1777023124; x=1777627924; darn=nongnu.org;\n h=user-agent:in-reply-to:content-transfer-encoding\n :content-disposition:mime-version:references:reply-to:message-id\n :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to;\n bh=DJAkUBjtt/FwIyPPxsftVyolb9XL1ywmNYUToUTrlnY=;\n b=PW53geS/++1rnKge5ttpZiFbgAeL7TH9IgSC1nizbYcWDd/FW7aHTMWwiQoMfFHnv1\n 2+beO8PDYcYprHV7s1H591O8DZE4pegC3RR3DLquzsRxFngxiurUCFZZlcKtsLCLlw2r\n qupVA8QOJwTTprXOa1w2fcjKqGPphETOSOc9irqevKCJgV4nMp51pDs2MR3UpGKPNTPR\n IWGGDHQ7/bVDVHP5QC2NbVcQI72q/ajDtKc/mX7xLFDtZIU5cde3ZvI5Q2NiLkm0anhG\n 2qbXomWMR25kaVLaPFpfobQXvBYGxqODjnPVYMCe+iKdZZC0Uli6ruNeorvCqtyCaC4m\n Y4wg=="],"X-MC-Unique":"ntPv-xtjPeClDPf_v80SWg-1","X-Mimecast-MFC-AGG-ID":"ntPv-xtjPeClDPf_v80SWg_1777023124","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777023124; x=1777627924;\n h=user-agent:in-reply-to:content-transfer-encoding\n :content-disposition:mime-version:references:reply-to:message-id\n :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=DJAkUBjtt/FwIyPPxsftVyolb9XL1ywmNYUToUTrlnY=;\n b=Rhg7BFOGoJ7Fx7Yd5IitpNTvoL9kKGAujd0Bv8/UHgZTiTGtHYvRtPEgj5tIn+24rf\n RCv02zEumKzm1/zvaR9BEclStimRcARnJFDeLdzwW8/VYAPl9cAI5WAbyyWawc3tfm/L\n /TGWUrTJ4H6WJmHwLBqMf9jr4Wqovy+bDNI31/F4AXZ7+H5vvd+4F6ZyKmzIL2Ym1cWe\n a8qcOeCpXJnAjsvt4qKUh5BhKCvVBzvYCuU24Ckw/G97uXG8r3+yAUaPQcS+W5uRyDRv\n 8orPGI97dUORP1tbqGyvn3/BUQM/aRN9BDp9LnwOd732uRcwysJ9Kkv1xVfTNtDEqkcU\n 4BpA==","X-Gm-Message-State":"AOJu0Yzl+a92V3kwr9l1NUZewTRWotrfz6wBruDEz5UmnYvIDigYM6ME\n XGCjiXc6vqIsRo3TZGCdFTJ5+CXEaNwfBXd43bRuseqOwVurLZZObT3b4lGxA/vexzahkyufOwh\n GURX6NnWcLi9LTsM4KCfsmLKMsAg2Q+Tw9DmmkkH7oDaSgwaYjhIZeFSP","X-Gm-Gg":"AeBDiesNYNPS55UQ1y8wD5Y0OFmUDTdE0CVZx/99hXf3vovci3q4Nh9jGEUJsqR5yoi\n o9RpsGX8loh2ya2Hs5aDh/lJy6FOTAkhEzWzpXFIWRkMQws80wjqmHxsWFVehqs7lj0n3hjZqBT\n uULAf19OUvHZ+r9Ej9ZUB0Ra/k0DtWcqMfxyQhfeDa0JQoMsg5DzIvFaQQgFeuueBA2WthjSdru\n c5DhhzThnI/vIQMS0KN5Fqbe1aU33d2J+Sr4HSUs58Y5wFYFVKfORtu8DR8xIK/RZ2hcjaH7Ppo\n YBJwBCt5q9Y2Rchj95ktU9k8pGP6n4KoWcHiIQk17LSUJPLJvM/u0g5T2hMEYl714cAezz3495z\n wnMMJ6ehTdlbSxKT5+/JmR/dMgpVzEw==","X-Received":["by 2002:a05:6000:44e8:b0:441:1cfb:2024 with SMTP id\n ffacd0b85a97d-4411cfb20admr16991613f8f.26.1777023124318;\n Fri, 24 Apr 2026 02:32:04 -0700 (PDT)","by 2002:a05:6000:44e8:b0:441:1cfb:2024 with SMTP id\n ffacd0b85a97d-4411cfb20admr16991563f8f.26.1777023123781;\n Fri, 24 Apr 2026 02:32:03 -0700 (PDT)"],"Date":"Fri, 24 Apr 2026 10:32:00 +0100","From":"Daniel =?utf-8?b?UC4gQmVycmFuZ8Op?= <berrange@redhat.com>","To":"Elisey Konstantinov <elisey.konstantinov@gmail.com>","Cc":"qemu-devel@nongnu.org, pbonzini@redhat.com, marcandre.lureau@redhat.com,\n philmd@linaro.org","Subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","Message-ID":"<aes4kEdQ_x8eI-m6@redhat.com>","References":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>\n <aeswZxFn0zMj-3jb@redhat.com>\n <06C2CFB8-BA33-46D6-9F84-B1F81A2A319E@gmail.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=utf-8","Content-Disposition":"inline","Content-Transfer-Encoding":"8bit","In-Reply-To":"<06C2CFB8-BA33-46D6-9F84-B1F81A2A319E@gmail.com>","User-Agent":"Mutt/2.3.1 (2026-03-20)","Received-SPF":"pass client-ip=170.10.133.124;\n envelope-from=berrange@redhat.com;\n helo=us-smtp-delivery-124.mimecast.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, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-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 <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>","Reply-To":"Daniel =?utf-8?b?UC4gQmVycmFuZ8Op?= <berrange@redhat.com>","Errors-To":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org","Sender":"qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org"}},{"id":3681989,"web_url":"http://patchwork.ozlabs.org/comment/3681989/","msgid":"<4FFF1823-815E-4956-9C80-9C62A98033B0@gmail.com>","list_archive_url":null,"date":"2026-04-24T11:31:18","subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","submitter":{"id":93247,"url":"http://patchwork.ozlabs.org/api/people/93247/","name":"Elisey Konstantinov","email":"elisey.konstantinov@gmail.com"},"content":"I understand it’s a niche use case, however, “niche” doesn't mean “broken”\nCurrently, QEMU advertises support for PPC Mac OS X guests, but it doesn’t work on Linux\nfor certain versions\nMy patch fixes this breakage with a 3-line change, proven to work\n\nIf the root cause in UContext takes months to fix, will you leave the feature broken for all Linux users that long?\nCan we apply this workaround to unblock users now, and continue the investigation in the issue tracker?\n\nIf not, what is the official status of PPC Mac OS X support in QEMU?\n\nP. S.\n\tFor example, SigAltStack is the only one way to use QEMU on macOS, and it works.. pretty good\n\tTo be clear, only Linux and maybe BSD (which I can’t test, see details in the issue) works on UContext by the meantime...","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=gmail.com header.i=@gmail.com header.a=rsa-sha256\n header.s=20251104 header.b=Wc5i/+1X;\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 4g29mQ0vCBz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 21:32:20 +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 1wGEkw-0008K7-B7; Fri, 24 Apr 2026 07:31:34 -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 <elisey.konstantinov@gmail.com>)\n id 1wGEkr-0008IG-UP\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 07:31:30 -0400","from mail-wr1-x431.google.com ([2a00:1450:4864:20::431])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <elisey.konstantinov@gmail.com>)\n id 1wGEkp-0004oH-Kt\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 07:31:28 -0400","by mail-wr1-x431.google.com with SMTP id\n ffacd0b85a97d-43d64313c39so6032820f8f.3\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 04:31:26 -0700 (PDT)","from smtpclient.apple ([5.32.173.67])\n by smtp.gmail.com with ESMTPSA id\n ffacd0b85a97d-43fe4e4d6casm56227569f8f.32.2026.04.24.04.31.23\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Fri, 24 Apr 2026 04:31:24 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=gmail.com; s=20251104; t=1777030285; x=1777635085; darn=nongnu.org;\n h=to:references:message-id:content-transfer-encoding:cc:date\n :in-reply-to:from:subject:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=VA9luHJYq3IUJn2ErMjx5YSPBzZn0p0skawnDbRPTY8=;\n b=Wc5i/+1X50C2pquEcvF5W7ldBkn4w0Skpdtb6B02m6leTkFl3ykTfq0De6pqO9nOaV\n dkOgPPff/wq/QAQOmNjGBrFVzY/st4fLwZU2dsWB8muKwVoRsbysKfipn5o+giOU4CgG\n L8O2JuLnhlthsiOyJbozSLQMH+jt/Gm69RnDMpam8cFoyswp5XhmCHBExQiMuEDQG8GF\n Fji0i9qqOBzsvNNx9wsO8G9AUJ7YiExsZsJl3cKZIQzVmRZEc8JH2Oy9ts/iSrkUKheK\n 79ictefI8Hd84GeUKZXpaij0M2FPUQzrHZKWxICnxc9ZWJB+LUU3vHjVIpx0s5aKXGFU\n 0Yyg==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777030285; x=1777635085;\n h=to:references:message-id:content-transfer-encoding:cc:date\n :in-reply-to:from:subject:mime-version:x-gm-gg:x-gm-message-state\n :from:to:cc:subject:date:message-id:reply-to;\n bh=VA9luHJYq3IUJn2ErMjx5YSPBzZn0p0skawnDbRPTY8=;\n b=VW+zrtRBo/UQ1oMNKrGXyVy4AuXM+H/mMpm1g6CydfP1XqyZhdLQHYDENNSUeh/7he\n igw9hemPOZkQ14d/+WxXAnLeh6ni7Qm6Adw6TMCvpm6PjIZ2TcT39DJUtwzr6ZwZpnsE\n 14fgyjJ3G54DresJt+9Fzr9Teo6Tgu8WIS5Q0VELSvmlQyRwclrtI0nILvV5Tz/mWmPL\n uI5Rs6Ehx0VufGBFkT/qNSJpJJU5L/R7rZHdGlTLb8HFry0oD/JzKdAksHYv/syO9xrH\n ZCFBmDr21JwVEwJq/TRZsSVRbs/Dyc43O+n21yNrdvZ6X6PbcXeDyi3lAHep2A2/C3++\n vinQ==","X-Gm-Message-State":"AOJu0YwmvfsIpZjrV092k0oIkHwrIkYKFTVRYQRSkwiY0jIt1TCUVC+f\n CDED2SA81gqvLyhYCQVR0t1HcbUfTwFbUcrOtcrKmGSq9qV7VYdKosNn","X-Gm-Gg":"AeBDietFRFhq99xjPWV9p2XBzTKU0FVC2j1Ckne291Y7w2Ty+HTh7BNRMML/vCO7xGU\n BuPS5WtTP6H/b2gYN9CkBZ8CtBbGCT4VEBTwSxmCxYmO9cssO3ODIq827m/fRmWpZk7n/28nyGP\n 4Szt7pZUqzMm2crPIhLq1h3o1tXIKnIMgVGXv2kNHq8odMNxWJDBSel20aRWAQKnjqaWSM1IoHP\n fQfZkL5/QhBgvpEKpa5eacOLJnJ+9vTaJOkCBbz4nOuO/NEcQZMoDxAF7RLStrTAHLyzvs8GrJl\n Av+JxcoG64x+GZo9JWHpVxSjPRgZM9VVsbCDjlOkAaadLPjr8Yh52FaOIlWMRj/jqTGdtr9pwOe\n RLQRV+ANcyCGaJIDdCdn/p0mUmyLAMKkNokS//SMIMBCkjcl8/YBsu/Drpqikv0AJ6pVCqygX87\n RvWZy9StTTqXjprJy9yvvUmGlx4teqeC5Sjs3/k6pHpq25D3kNkNZ8YpXZPIWqVz+h","X-Received":"by 2002:a5d:5f96:0:b0:43d:7d24:b4ff with SMTP id\n ffacd0b85a97d-43fe3e0ae9dmr47172941f8f.40.1777030284540;\n Fri, 24 Apr 2026 04:31:24 -0700 (PDT)","Content-Type":"text/plain;\n\tcharset=utf-8","Mime-Version":"1.0 (Mac OS X Mail 16.0 \\(3864.500.181\\))","Subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","From":"Elisey Konstantinov <elisey.konstantinov@gmail.com>","In-Reply-To":"<aes4kEdQ_x8eI-m6@redhat.com>","Date":"Fri, 24 Apr 2026 14:31:18 +0300","Cc":"qemu-devel@nongnu.org, pbonzini@redhat.com, marcandre.lureau@redhat.com,\n philmd@linaro.org","Content-Transfer-Encoding":"quoted-printable","Message-Id":"<4FFF1823-815E-4956-9C80-9C62A98033B0@gmail.com>","References":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>\n <aeswZxFn0zMj-3jb@redhat.com>\n <06C2CFB8-BA33-46D6-9F84-B1F81A2A319E@gmail.com>\n <aes4kEdQ_x8eI-m6@redhat.com>","To":"=?utf-8?b?IkRhbmllbCBQLiBCZXJyYW5nw6ki?= <berrange@redhat.com>","X-Mailer":"Apple Mail (2.3864.500.181)","Received-SPF":"pass client-ip=2a00:1450:4864:20::431;\n envelope-from=elisey.konstantinov@gmail.com; helo=mail-wr1-x431.google.com","X-Spam_score_int":"-10","X-Spam_score":"-1.1","X-Spam_bar":"-","X-Spam_report":"(-1.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, FORGED_GMAIL_RCVD=1,\n FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=no 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"}},{"id":3681996,"web_url":"http://patchwork.ozlabs.org/comment/3681996/","msgid":"<CAFEAcA_gX4N6YrhQBTi-YDvkafJXWEkkDU8Y9vz5nYce9OrHwQ@mail.gmail.com>","list_archive_url":null,"date":"2026-04-24T11:51:14","subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","submitter":{"id":5111,"url":"http://patchwork.ozlabs.org/api/people/5111/","name":"Peter Maydell","email":"peter.maydell@linaro.org"},"content":"On Fri, 24 Apr 2026 at 12:32, Elisey Konstantinov\n<elisey.konstantinov@gmail.com> wrote:\n>\n> I understand it’s a niche use case, however, “niche” doesn't mean “broken”\n> Currently, QEMU advertises support for PPC Mac OS X guests, but it doesn’t work on Linux\n> for certain versions\n> My patch fixes this breakage with a 3-line change, proven to work\n>\n> If the root cause in UContext takes months to fix, will you leave the feature broken for all Linux users that long?\n> Can we apply this workaround to unblock users now, and continue the investigation in the issue tracker?\n\nQEMU covers many more use cases than PPC macos emulation.\nAs Daniel says, this is very niche. It's almost certainly the\ncase that your proposed change is merely hiding an actual bug.\nThe coroutine backend is a fundamental part of how low level\nparts of QEMU like the block backend work, which are heavily\nrelied on where QEMU is used as a virtual machine setup with\nKVM and other accelerators. Changing the default here affects\na great many of our users. We should not do that only because\nit happens to mask a bug somewhere in PPC emulation for\na particular guest OS.\n\nIf this was a workaround that affected only PPC and was at least\nobviously a change to a PPC-specific part of QEMU like a particular\ndevice model, we might take it. (Though even there we might say \"no,\nfind the actual cause\"; workarounds once accepted have a tendency\nto stick around way longer than they ought to as people forget\nwhether and when they can be removed later). For a workaround which\naffects every QEMU user including all the performance-sensitive\nVM use cases, the answer is a clear \"no\".\n\n> If not, what is the official status of PPC Mac OS X support in QEMU?\n\nThe \"New World\" and \"Old World\" machines are listed in our\nMAINTAINERS file as \"Odd Fixes\", which means:\n\n\"It has a maintainer but they don't have time to do\n much other than throw the odd patch in.\"\n\nIn other words, there is no active development work ongoing,\nand nobody with time and interest to investigate complex bugs.\nIf it happens to work for people, that's great. If it doesn't\nwork and somebody proposes a patch then we can review the patch\n(as we have done for this one). If it doesn't work and nobody\nproposes a satisfactory patch then it will likely remain broken.\n\nthanks\n-- PMM","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=AeM2f7Ri;\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 4g2BCN1gSpz1yD5\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 21:52: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 1wGF4M-0005Cm-L3; Fri, 24 Apr 2026 07:51:38 -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 <peter.maydell@linaro.org>)\n id 1wGF4K-0005Aw-Nk\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 07:51:37 -0400","from mail-yw1-x112d.google.com ([2607:f8b0:4864:20::112d])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>)\n id 1wGF4B-0002nN-OM\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 07:51:30 -0400","by mail-yw1-x112d.google.com with SMTP id\n 00721157ae682-79db5e18ac6so92544937b3.1\n for <qemu-devel@nongnu.org>; Fri, 24 Apr 2026 04:51:26 -0700 (PDT)"],"ARC-Seal":"i=1; a=rsa-sha256; t=1777031486; cv=none;\n d=google.com; s=arc-20240605;\n b=UheEFIgzs1J4gChQ8OIg7qV7Z4rHuX1/sPiiBMZiWtV8sBhfbfPCTolgb9mdHlX+4F\n DEg2+50hE9xdhgJSUaBY87yk7/HcsYXniv8Sc2cW6511q76+BLLz93EjfwQwlXFG1hAS\n /Nnc4sNrN0TWTKCAZEeP1bFygijAmxmGu57JT+3/8XTSba7KtR5nz/VdH2i++Gr9BR8B\n CQt3IePAKAbC7+o62XE18q4IVE9VD6CT1vPUd4eWIVOIUxdi+oaDluQ0f81AMG2uJzz7\n rkIn1fPKZsw+0vqleZpX91r+Th1rB5GjEgRa5RX04092XaXOEZrMP4UOJCELvt7pLyAW\n r30g==","ARC-Message-Signature":"i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;\n s=arc-20240605;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:dkim-signature;\n bh=aADK6NGaSQ6jDLzgHLvLaSvVqcL1IvEiArKRA4FowUo=;\n fh=z6AaIQNSaWSNIPmRXuDA9F0UbA5m57xfRMn3CrPCpPU=;\n b=G6c3yqAC+rDpiB/JsvBjdqf2IxBciJGy0JCdt8YaEKW1MkpJFIPl37wXgPaG0tta2E\n 5LTyNuFTXq+5iw66a294BsvNCiypF5aLTWm8o3jOv0EKWYZ6EQ0YXYfSWKNAPRWAhfW1\n 4xzVGyKmqWpGnbha1MJq4i7Q57G4UsX4cxnOjMHeN+GE6TVKA4hTHAJVl7nWYQVrBlNA\n Fc+Hrf7mtMGWHUMPLyO6kovKnMpunE7XIkfbxcWnzufKRVSKyAfErQACdeyDJtoYH/tn\n +pMegKneJw3b6eeg8YAKE5CE3wMqTnrVeU9Voh15nA0rVz8rAf5WHlYTsNOnqUFXEDlx\n ZwcQ==; darn=nongnu.org","ARC-Authentication-Results":"i=1; mx.google.com; arc=none","DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777031486; x=1777636286; darn=nongnu.org;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:from:to:cc:subject:date\n :message-id:reply-to;\n bh=aADK6NGaSQ6jDLzgHLvLaSvVqcL1IvEiArKRA4FowUo=;\n b=AeM2f7RiUHebFP4XM1KJRi5guBBuD6BieNbRLtWYFEhNY+bkloe6RoJoLhjXs6LGo2\n 7guSrboaGjlGevsL3rKKz+guZ0r1U/F8cLiqqjOMQqLYew5nFKuat65QbEaIv6KNs0v1\n 4yQf6cAAS8d1mg+RcwzuqSlhsTNEzu5FRHIOSTT0woO0Pagb5GSRaaFFpW/UdFT242mx\n 9uq7w+lazefzziO/cmkPGBPp1Ad9tmv9JejKYfi+5xAeBHFbkgdF8eYatJ7Y1WVuZgSf\n 3dl05tOpZBlQ0g+cdz2IaX9ex6cFzxtIvaPJIgQx0ovXY1aBxx9KIWZ8ROvt8H/FHWK8\n ngnQ==","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777031486; x=1777636286;\n h=content-transfer-encoding:cc:to:subject:message-id:date:from\n :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=aADK6NGaSQ6jDLzgHLvLaSvVqcL1IvEiArKRA4FowUo=;\n b=N1fZXjUN6mBdK5mbvqveV8qouFXe92Z28tJfcC9u/FjxagIDWKUUFyFutLj1ktSGZO\n FK9rBblanRScL+/0tWhB4T5AfT6sXVZ0AOf2sA+dwwfwtc4eCe5lMMy+RLhMBCS2w93l\n YNSSTWJyNOlJPvPETNTfClutKBPkaQsXfLPxh4Cf83+KKWXZmNm5MbxVw+SKn+lGrZOT\n eKagA5b7ZARUhEBCScqx+eT9zQ0TMzft+bkZ3KYg9QNk6ZoIGy17OQyufVt4uDR70iWy\n XrhEvmJa25FW7tqriz54shjC2lItFID3ZmQnMoHT+nfdiMShMpZXXtlFVIIV+u/ZXkIP\n HW+w==","X-Forwarded-Encrypted":"i=1;\n AFNElJ+3VsbiYZXxp1db9+QuruBLIQC0+oFDBx9HslMQ+byPG9RNE8yU9bUtPJVjZ1oQ07uoiao2oUtxyNDT@nongnu.org","X-Gm-Message-State":"AOJu0YxPAb8bznc12wEEdbQgX2g/EIozm0Ih7sr3kXMMddPaIBxa34Bu\n Dm4vwrxwOVVzbENTLN18AThZYMzbqcdE6gzcB1B+Lgm4kFtBw9BpGHf8T8nKm7UQsnjmNo/fnND\n lddRfwkgUwMRpvYlPOIzTiI5pnlIjUE22jNMX+6FD3A==","X-Gm-Gg":"AeBDiesgS3eaSfbr7Zw3W05buJ4G0HHemCOU5cM/xNhRCwDOgrbDs4GgVDTLBD9K+Lb\n /TnnH6ARYXQo3VfXhffp79njZNZ1lvGYxSBb+hXqJGST8ltPgP6QFUBBZT6VwBcC3rOAt3YWIEb\n M6MZXJesKL54mhokzQLAzVDtF6NiML7oVGMOE9p+pbiaSPgOy8oW1aWFZO2v+VfSZfeX24Dfgy/\n 7i3C4BTwJ2bCE3llDoTBKc+3Mbj78PAyN2Fm2rlvI1h3in8AqnbmyJb2EDfCI6l3gAuHuLqm3gj\n Zp8YKSHzHmSCEKVZm+N9Xd7r5j/tIb/rB0qdz6BCwRbeVaF4sawZinT+fAKnzOoYO/4oRpIlGev\n j2JLtgttIQPSC","X-Received":"by 2002:a05:690e:130b:b0:650:1aa5:856e with SMTP id\n 956f58d0204a3-65311beafccmr20815130d50.37.1777031485985; Fri, 24 Apr 2026\n 04:51:25 -0700 (PDT)","MIME-Version":"1.0","References":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>\n <aeswZxFn0zMj-3jb@redhat.com>\n <06C2CFB8-BA33-46D6-9F84-B1F81A2A319E@gmail.com>\n <aes4kEdQ_x8eI-m6@redhat.com>\n <4FFF1823-815E-4956-9C80-9C62A98033B0@gmail.com>","In-Reply-To":"<4FFF1823-815E-4956-9C80-9C62A98033B0@gmail.com>","From":"Peter Maydell <peter.maydell@linaro.org>","Date":"Fri, 24 Apr 2026 12:51:14 +0100","X-Gm-Features":"AQROBzBMy2AjmO9dx-K505fJ9xL3QVkDzIqOIqaZOywoLlD6pbefOYOI8InzlQk","Message-ID":"\n <CAFEAcA_gX4N6YrhQBTi-YDvkafJXWEkkDU8Y9vz5nYce9OrHwQ@mail.gmail.com>","Subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","To":"Elisey Konstantinov <elisey.konstantinov@gmail.com>","Cc":"=?utf-8?q?Daniel_P=2E_Berrang=C3=A9?= <berrange@redhat.com>,\n  qemu-devel@nongnu.org, pbonzini@redhat.com, marcandre.lureau@redhat.com,\n  philmd@linaro.org","Content-Type":"text/plain; charset=\"UTF-8\"","Content-Transfer-Encoding":"quoted-printable","Received-SPF":"pass client-ip=2607:f8b0:4864:20::112d;\n envelope-from=peter.maydell@linaro.org; helo=mail-yw1-x112d.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"}},{"id":3682005,"web_url":"http://patchwork.ozlabs.org/comment/3682005/","msgid":"<175446b9-a3c3-4a20-bb6b-244867ea0022@redhat.com>","list_archive_url":null,"date":"2026-04-24T12:03:23","subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","submitter":{"id":2701,"url":"http://patchwork.ozlabs.org/api/people/2701/","name":"Paolo Bonzini","email":"pbonzini@redhat.com"},"content":"On 4/24/26 09:19, Elisey Konstantinov wrote:\n>  From 517099e65de1e2ad3d0f33d3c4a7a71f8728279c Mon Sep 17 00:00:00 2001\n> From: Elisey <elisey.konstantinov@gmail.com>\n> Date: Mon, 23 Mar 2026 16:02:45 +0100\n> Subject: [PATCH] build: prefer sigaltstack over ucontext on Linux\n> \n> sigaltstack coroutine backend is more stable on some Linux\n> configurations, while ucontext causes boot failures for certain\n> PPC Mac OS X guests (issue #3276).\n> \n> Select sigaltstack first when available, keeping ucontext as fallback\n> until the underlying issue is resolved.\n> \n> Signed-off-by: Elisey Konstantinov <elisey.konstantinov@gmail.com>\n\nI have never really liked using ucontext because we are only using it \nfor setup and then switching to sigsetjmp/siglongjmp.  sigaltstack is \nnot much better however.  I agree with others that for example the mutex \ncould be masking the bug.\n\nMany years ago I wrote an assembly-language coroutine backend:\n\nhttps://patchew.org/QEMU/20190504120528.6389-1-pbonzini@redhat.com/\n\nPerhaps you can try to resurrect it, even just for x86 to see if it \nfixes your issue?  This is the relevant patch:\n\nhttps://patchew.org/QEMU/20190504120528.6389-4-pbonzini@redhat.com/mbox\n\nand you only need util/coroutine-asm.c + simple changes to meson.build \nsimilar to the ones you have already made.\n\nNote that you'll also have to add something like\n\ndiff --git a/meson.build b/meson.build\nindex 2bc2bd4d7bf..3a13da8a08d 100644\n--- a/meson.build\n+++ b/meson.build\n@@ -391,6 +391,7 @@ qemu_isa_flags = []\n\n  # Pick x86-64 baseline version\n  if host_arch == 'x86_64'\n+  qemu_isa_flags += ['-mno-red-zone']\n    if get_option('x86_version') == '0'\n      error('x86_64-v1 required for x86-64 hosts')\n    endif\n\nto meson.build (not optimal but simple).\n\nPaolo","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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=PaiQjsw1;\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 4g2BTD2x2Qz1yDD\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 24 Apr 2026 22:04: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 1wGFFy-0000FK-Cn; Fri, 24 Apr 2026 08:03:38 -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 <pbonzini@redhat.com>)\n id 1wGFFv-0000Ev-NL\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 08:03:35 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.129.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <pbonzini@redhat.com>)\n id 1wGFFt-0006P4-SX\n for qemu-devel@nongnu.org; Fri, 24 Apr 2026 08:03:35 -0400","from mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-609-Xq3joshlOyGvG850NuqJqA-1; Fri,\n 24 Apr 2026 08:03:28 -0400","from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id 257BE19560B5; Fri, 24 Apr 2026 12:03:27 +0000 (UTC)","from [10.44.48.23] (unknown [10.44.48.23])\n by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 5425719560B7; Fri, 24 Apr 2026 12:03:25 +0000 (UTC)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1777032211;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references:autocrypt:autocrypt;\n bh=nSBek21dbdXx6sz+Khwivk9uL5hLx4G18ocRePTKNlk=;\n b=PaiQjsw1gmA/CjD/uJ3/+Dh8i/tZ5wSOAwJnKRmbDkaSuKlovrCLYYpfVaAaOkzqVKoYON\n kXs92qB2l6oZ0CuUxtsFITBEKMI+oKWhCMdS2h7qh2UrrCoRE0LrS6ieBCyOgd5udEVq/V\n i8ElxsMsA7Ur8lJhaRl/Y21y++cF7YQ=","X-MC-Unique":"Xq3joshlOyGvG850NuqJqA-1","X-Mimecast-MFC-AGG-ID":"Xq3joshlOyGvG850NuqJqA_1777032207","Message-ID":"<175446b9-a3c3-4a20-bb6b-244867ea0022@redhat.com>","Date":"Fri, 24 Apr 2026 14:03:23 +0200","MIME-Version":"1.0","User-Agent":"Mozilla Thunderbird","Subject":"Re: [PATCH] build: prefer sigaltstack over ucontext on Linux","To":"Elisey Konstantinov <elisey.konstantinov@gmail.com>, qemu-devel@nongnu.org","Cc":"marcandre.lureau@redhat.com, berrange@redhat.com, philmd@linaro.org","References":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>","From":"Paolo Bonzini <pbonzini@redhat.com>","Content-Language":"en-US","Autocrypt":"addr=pbonzini@redhat.com; keydata=\n xsEhBFRCcBIBDqDGsz4K0zZun3jh+U6Z9wNGLKQ0kSFyjN38gMqU1SfP+TUNQepFHb/Gc0E2\n CxXPkIBTvYY+ZPkoTh5xF9oS1jqI8iRLzouzF8yXs3QjQIZ2SfuCxSVwlV65jotcjD2FTN04\n hVopm9llFijNZpVIOGUTqzM4U55sdsCcZUluWM6x4HSOdw5F5Utxfp1wOjD/v92Lrax0hjiX\n DResHSt48q+8FrZzY+AUbkUS+Jm34qjswdrgsC5uxeVcLkBgWLmov2kMaMROT0YmFY6A3m1S\n P/kXmHDXxhe23gKb3dgwxUTpENDBGcfEzrzilWueOeUWiOcWuFOed/C3SyijBx3Av/lbCsHU\n Vx6pMycNTdzU1BuAroB+Y3mNEuW56Yd44jlInzG2UOwt9XjjdKkJZ1g0P9dwptwLEgTEd3Fo\n UdhAQyRXGYO8oROiuh+RZ1lXp6AQ4ZjoyH8WLfTLf5g1EKCTc4C1sy1vQSdzIRu3rBIjAvnC\n tGZADei1IExLqB3uzXKzZ1BZ+Z8hnt2og9hb7H0y8diYfEk2w3R7wEr+Ehk5NQsT2MPI2QBd\n wEv1/Aj1DgUHZAHzG1QN9S8wNWQ6K9DqHZTBnI1hUlkp22zCSHK/6FwUCuYp1zcAEQEAAc0j\n UGFvbG8gQm9uemluaSA8cGJvbnppbmlAcmVkaGF0LmNvbT7CwU0EEwECACMFAlRCcBICGwMH\n CwkIBwMCAQYVCAIJCgsEFgIDAQIeAQIXgAAKCRB+FRAMzTZpsbceDp9IIN6BIA0Ol7MoB15E\n 11kRz/ewzryFY54tQlMnd4xxfH8MTQ/mm9I482YoSwPMdcWFAKnUX6Yo30tbLiNB8hzaHeRj\n jx12K+ptqYbg+cevgOtbLAlL9kNgLLcsGqC2829jBCUTVeMSZDrzS97ole/YEez2qFpPnTV0\n VrRWClWVfYh+JfzpXmgyhbkuwUxNFk421s4Ajp3d8nPPFUGgBG5HOxzkAm7xb1cjAuJ+oi/K\n CHfkuN+fLZl/u3E/fw7vvOESApLU5o0icVXeakfSz0LsygEnekDbxPnE5af/9FEkXJD5EoYG\n SEahaEtgNrR4qsyxyAGYgZlS70vkSSYJ+iT2rrwEiDlo31MzRo6Ba2FfHBSJ7lcYdPT7bbk9\n AO3hlNMhNdUhoQv7M5HsnqZ6unvSHOKmReNaS9egAGdRN0/GPDWr9wroyJ65ZNQsHl9nXBqE\n AukZNr5oJO5vxrYiAuuTSd6UI/xFkjtkzltG3mw5ao2bBpk/V/YuePrJsnPFHG7NhizrxttB\n nTuOSCMo45pfHQ+XYd5K1+Cv/NzZFNWscm5htJ0HznY+oOsZvHTyGz3v91pn51dkRYN0otqr\n bQ4tlFFuVjArBZcapSIe6NV8C4cEiSTOwE0EVEJx7gEIAMeHcVzuv2bp9HlWDp6+RkZe+vtl\n KwAHplb/WH59j2wyG8V6i33+6MlSSJMOFnYUCCL77bucx9uImI5nX24PIlqT+zasVEEVGSRF\n m8dgkcJDB7Tps0IkNrUi4yof3B3shR+vMY3i3Ip0e41zKx0CvlAhMOo6otaHmcxr35sWq1Jk\n tLkbn3wG+fPQCVudJJECvVQ//UAthSSEklA50QtD2sBkmQ14ZryEyTHQ+E42K3j2IUmOLriF\n dNr9NvE1QGmGyIcbw2NIVEBOK/GWxkS5+dmxM2iD4Jdaf2nSn3jlHjEXoPwpMs0KZsgdU0pP\n JQzMUMwmB1wM8JxovFlPYrhNT9MAEQEAAcLBMwQYAQIACQUCVEJx7gIbDAAKCRB+FRAMzTZp\n sadRDqCctLmYICZu4GSnie4lKXl+HqlLanpVMOoFNnWs9oRP47MbE2wv8OaYh5pNR9VVgyhD\n OG0AU7oidG36OeUlrFDTfnPYYSF/mPCxHttosyt8O5kabxnIPv2URuAxDByz+iVbL+RjKaGM\n GDph56ZTswlx75nZVtIukqzLAQ5fa8OALSGum0cFi4ptZUOhDNz1onz61klD6z3MODi0sBZN\n Aj6guB2L/+2ZwElZEeRBERRd/uommlYuToAXfNRdUwrwl9gRMiA0WSyTb190zneRRDfpSK5d\n usXnM/O+kr3Dm+Ui+UioPf6wgbn3T0o6I5BhVhs4h4hWmIW7iNhPjX1iybXfmb1gAFfjtHfL\n xRUr64svXpyfJMScIQtBAm0ihWPltXkyITA92ngCmPdHa6M1hMh4RDX+Jf1fiWubzp1voAg0\n JBrdmNZSQDz0iKmSrx8xkoXYfA3bgtFN8WJH2xgFL28XnqY4M6dLhJwV3z08tPSRqYFm4NMP\n dRsn0/7oymhneL8RthIvjDDQ5ktUjMe8LtHr70OZE/TT88qvEdhiIVUogHdo4qBrk41+gGQh\n b906Dudw5YhTJFU3nC6bbF2nrLlB4C/XSiH76ZvqzV0Z/cAMBo5NF/w=","In-Reply-To":"<616E96C0-F0A5-4A9E-A63B-3BC1B5F18094@gmail.com>","Content-Type":"text/plain; charset=UTF-8; format=flowed","Content-Transfer-Encoding":"7bit","X-Scanned-By":"MIMEDefang 3.0 on 10.30.177.12","Received-SPF":"pass client-ip=170.10.129.124;\n envelope-from=pbonzini@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com","X-Spam_score_int":"12","X-Spam_score":"1.2","X-Spam_bar":"+","X-Spam_report":"(1.2 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001,\n RCVD_IN_SBL_CSS=3.335, SPF_HELO_PASS=-0.001,\n SPF_PASS=-0.001 autolearn=no 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"}}]