From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id GC3VKxPlA2Z77QAAqHPOHw:P1 (envelope-from ) for ; Wed, 27 Mar 2024 10:21:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id GC3VKxPlA2Z77QAAqHPOHw (envelope-from ) for ; Wed, 27 Mar 2024 10:21:23 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1711531283; a=rsa-sha256; cv=none; b=ipmzYxZLh1BNm2cWOEX9q8WtKUFIZZz52Y7yo2uxLdl28/J2LWZeNjjtm5HMNBWlhdKbZE y6FdHCIOOE/AVrmnOODXwrIW8daY4NtruUP6EX25e3KJS8RzPLysWMIGZZC2DXfezWYx0h gfjePHyJs7sBtySPpbSz/J6q+6/lnctHKFh2TncH/M/mE9wZHf0HqVp1P3zmjyjUHMcxPJ 9EUChnUaKF0bIAn1zDMN65DxMAHWzduVbsPL3In51g6DxFG9tVQSyX4z8+BGgEoaVV6qF7 nRB6N3iFOkwS3RtjOa/pwkHhOeQzArM89K1rnzjsXIslIBMT7Y7OP8zj2molpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1711531283; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post; bh=zC0mLtf2n42/k+yIJ+KQ4GhBYqUN6qRk4T1KtEHh4IY=; b=iAmk13LOH3qnjCe68w4Ttt9K9oF27onjoIbIy+T1d/S0eJg7v/ZwLM5xOHu250sh8zZC8L U+2bvdeQdWCsR5m7H4z0XnEZnlfb28jGB2NZIVteuXSnrml7+ywvQDrYvv/pjNPGyUkiU0 MHWCZFcZS0rR/25kbtQFt5iuSVleGnmE99de4G4U/IwLbe/el1V/dJjIA/Tb5h8l+BY+bb mf5uQ0BRP0GW9Eac8mLPhHK+fXBmkE1MHvyZzEP/jxmdAXV0XcYvU2hkLxkEk+05rypSzJ jq/C1UeCd9izrKji+WrCxmofiQjlrNYEIjQCnL3nLTnHQiw6HVTb6foLMK3BYQ== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 81E6A1ACB6 for ; Wed, 27 Mar 2024 10:21:22 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpPT0-0001Wn-9W; Wed, 27 Mar 2024 05:21:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpPSw-0001W7-DZ for guix-patches@gnu.org; Wed, 27 Mar 2024 05:21:02 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpPSw-0004DK-4c for guix-patches@gnu.org; Wed, 27 Mar 2024 05:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpPSv-0006r4-Ny for guix-patches@gnu.org; Wed, 27 Mar 2024 05:21:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69899] [PATCH 0/7] support to use `guix system vm' with riscv64. Resent-From: Zheng Junjie Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 27 Mar 2024 09:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69899 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Leo Famulari Cc: 69899@debbugs.gnu.org Received: via spool by 69899-submit@debbugs.gnu.org id=B69899.171153125326327 (code B ref 69899); Wed, 27 Mar 2024 09:21:01 +0000 Received: (at 69899) by debbugs.gnu.org; 27 Mar 2024 09:20:53 +0000 Received: from localhost ([127.0.0.1]:35766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpPSn-0006qZ-20 for submit@debbugs.gnu.org; Wed, 27 Mar 2024 05:20:53 -0400 Received: from smtp81.cstnet.cn ([159.226.251.81]:35728 helo=cstnet.cn) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpPSj-0006ph-8B for 69899@debbugs.gnu.org; Wed, 27 Mar 2024 05:20:51 -0400 Received: from m (unknown [183.247.5.22]) by APP-03 (Coremail) with SMTP id rQCowACXnOTj5ANmttUDCQ--.20135S2; Wed, 27 Mar 2024 17:20:36 +0800 (CST) References: User-agent: mu4e 1.10.8; emacs 30.0.50 From: Zheng Junjie Date: Wed, 27 Mar 2024 17:15:26 +0800 In-reply-to: Message-ID: <87ttksgheo.fsf@iscas.ac.cn> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; prot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f9x07jY6wZUUUUU= X-Originating-IP: [183.247.5.22] X-CM-SenderInfo: x2kh0wxmxqyx3h6l2u1dvotugofq/ X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -8.35 X-Migadu-Queue-Id: 81E6A1ACB6 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -8.35 X-TUID: +f4+bNq1oT/e --=-=-= Content-Type: text/plain Leo Famulari writes: > Hi, thanks for these patches! > > On Tue, Mar 19, 2024 at 11:15:53PM +0800, Zheng Junjie wrote: >> hello!. this patchset make `guix system vm --target=riscv64-linux-gnu' work. >> and `guix system vm --system=riscv64-linux` also work, But there is a problem >> that the qemu running with --system=riscv64-linux is also riscv architecture, >> now you have to manually modify to use native qemu or the guix of qemu-system >> on qemu-user is too slow. and must enable qemu-binfmt. > > So, what should we do about the problem? What's the ideal solution for > Guix? I don't have any experience with this subject matter. I've come up with two ideas: 1. Force the current system's qemu to be used, on x86_64 and -s riscv64-linux, use x86_64's qemu. 2. add an environment variable, GUIX_QEMU, to allow the internal qemu execution to be replaced There may be other solutions, but I can't think of them yet. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEfr6klGDOXiwIdX/bO1qpk+Gi3/AFAmYD5N8ACgkQO1qpk+Gi 3/CN5w/+JtBauA6LnRD0wSDmkxuYo/8Jyy1kJkKREu2RXeJxH2koif3k+XvRf/81 LAZ1dfSgtOPJ8p0mlQAVTWOqx/+fppQhoBDe2QgGQ3rtHZLQScqY8s1MDuab92P1 OflJTKWSs94KdDTsx7OnzvkFOUR5/FLv8gldFt3YEppiCy+SDc4UvebM8iJXZwP/ qb4dRGzylgh5m10yW/P8AXY4nvUB/RINakqoUcwOjqPSYJdJVhu1x0vJaJqx4r0M 88GnI4yRIfh/qLojJUHoaKUodPMVRmp5QCu26zGBaKqBA5cId38sKy6mcv4aXQcd aZb24iEbst/Pb/F0MBR6pJ4UaHI6DVYwQUcMQgFNAKZTvTLTIfh8tyXUqyuRrlUF zR+WlLCR8Hn3xVdVt5rG4i8JfqfcL2t5J0ZC2ag2VnRLwQ7KT4LKqW3TriIy+ILp Stl959O6QR9ZzuudoMVm0aIXCxllW/xeFAj9hoCU5HSnEbkoQjdLoIxbVupyOx2x GxJZzfw2as5OgTMlMDEnxFvWyd7zTJHbNJ1o98pXy+AIjxm4BhDJtIfE96PItjga y/aPz/ExNRTO4Vk0RDLSkwK7DRg0zKE2BJW1zP2H5ZJg/1My+qQuqOWUtGYMKx9i xMhCILbAGMK6SvUku2ddFzczAIQ1NVkrcYt3RkWxAm5slAWt2U8= =WqCt -----END PGP SIGNATURE----- --=-=-=--