From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 06MACiUs7177OQAA0tVLHw (envelope-from ) for ; Sun, 21 Jun 2020 09:45:09 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +PIUBSUs716XaQAAbx9fmQ (envelope-from ) for ; Sun, 21 Jun 2020 09:45:09 +0000 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 7708B9400B9 for ; Sun, 21 Jun 2020 09:45:08 +0000 (UTC) Received: from localhost ([::1]:33774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmwXC-0002eQ-LF for larch@yhetil.org; Sun, 21 Jun 2020 05:45:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmwX8-0002eH-SD for guix-patches@gnu.org; Sun, 21 Jun 2020 05:45:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:47705) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmwX8-0003FS-Iy for guix-patches@gnu.org; Sun, 21 Jun 2020 05:45:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jmwX8-00005r-F0 for guix-patches@gnu.org; Sun, 21 Jun 2020 05:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#41961] [PATCH 1/1] services: childhurd: Support more than one instance. Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 21 Jun 2020 09:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41961 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Jan Nieuwenhuizen Cc: rekado@elephly.net, 41961@debbugs.gnu.org Received: via spool by 41961-submit@debbugs.gnu.org id=B41961.159273266932761 (code B ref 41961); Sun, 21 Jun 2020 09:45:02 +0000 Received: (at 41961) by debbugs.gnu.org; 21 Jun 2020 09:44:29 +0000 Received: from localhost ([127.0.0.1]:59251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmwWb-0008WL-DO for submit@debbugs.gnu.org; Sun, 21 Jun 2020 05:44:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmwWY-0008W6-Il for 41961@debbugs.gnu.org; Sun, 21 Jun 2020 05:44:28 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51526) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmwWT-00031b-2C; Sun, 21 Jun 2020 05:44:21 -0400 Received: from [2a01:e0a:fa:a50:34a1:eac3:9800:4a6e] (port=53190 helo=meru) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jmwWS-00009U-L4; Sun, 21 Jun 2020 05:44:20 -0400 From: Mathieu Othacehe References: <20200620091656.6804-1-janneke@gnu.org> <20200620091918.6868-1-janneke@gnu.org> <87366o6chl.fsf@gnu.org> <875zbk3hzy.fsf@gnu.org> Date: Sun, 21 Jun 2020 11:44:18 +0200 In-Reply-To: <875zbk3hzy.fsf@gnu.org> (Jan Nieuwenhuizen's message of "Sun, 21 Jun 2020 11:06:41 +0200") Message-ID: <87pn9s4utp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: PkyA80aL0JnF > Hmm...yes, this looked a bit awkward to me too. It's being used like > this: > > o--8<---------------cut here---------------start------------->8--- > (let ((image (hurd-vm-configuration-image config)) > ...) > (define vm-command > #~(list > (string-append #$qemu "/bin/qemu-system-i386") > #$@(if (file-exists? "/dev/kvm") '("--enable-kvm") '()) > "-m" (number->string #$memory-size) > #$@net-options > #$@options > #+image)) What about having something like: --8<---------------cut here---------------start------------->8--- (define vm-command #~(list (string-append #$qemu "/bin/qemu-system-i386") #$@(if (file-exists? "/dev/kvm") '("--enable-kvm") '()) "-m" (number->string #$memory-size) #$@options #+@(list "--hda" image))) --8<---------------cut here---------------end--------------->8--- instead? > to fix parameterize the ports for QEMU. Is there a better way to do > that? Oh I see, then it's fine I guess. Thanks, Mathieu