From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38578) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePnJh-0002UI-Tz for guix-patches@gnu.org; Fri, 15 Dec 2017 05:34:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePnJa-0005vK-GB for guix-patches@gnu.org; Fri, 15 Dec 2017 05:34:09 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:54246) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ePnJa-0005v7-Co for guix-patches@gnu.org; Fri, 15 Dec 2017 05:34:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ePnJa-0004YO-47 for guix-patches@gnu.org; Fri, 15 Dec 2017 05:34:02 -0500 Subject: [bug#29409] [PATCH v2 1/4] vm: Adapt qemu command to ARM. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <877euhtjkj.fsf@gmail.com> <1513162937-13145-1-git-send-email-m.othacehe@gmail.com> Date: Fri, 15 Dec 2017 11:33:49 +0100 In-Reply-To: <1513162937-13145-1-git-send-email-m.othacehe@gmail.com> (m. othacehe's message of "Wed, 13 Dec 2017 12:02:14 +0100") Message-ID: <874losl1pu.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: m.othacehe@gmail.com Cc: 29409@debbugs.gnu.org m.othacehe@gmail.com skribis: > From: Mathieu Othacehe > > * gnu/build/vm.scm (load-in-linux-vm): New argument #:target-arm32. > Use it to adapt command for qemu-system-arm. This implies to choose a > machine ("virt"), use the correct console port "ttyAMA0", disable KVM use > that is buggy on some ARM boards (Odroid XU4 for example) and use user mode > network stack instead of NIC. Gather all those options in a new variable > "arch-specific-flags". > * gnu/system/vm.scm (expression->derivation-in-linux-vm): Pass > to load-in-linux-vm "#:target-arm32?" argument. Perfect, thank you!