From unknown Wed Aug 20 03:37:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27869] [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Jul 2017 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27869@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150132956526028 (code B ref -1); Sat, 29 Jul 2017 12:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jul 2017 11:59:25 +0000 Received: from localhost ([127.0.0.1]:60695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbQOy-0006lk-OO for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbQOw-0006lY-A1 for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbQOp-0001kE-Vs for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dbQOp-0001jx-Sr for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbQOo-0006mA-5t for guix-patches@gnu.org; Sat, 29 Jul 2017 07:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbQOl-0001cB-1s for guix-patches@gnu.org; Sat, 29 Jul 2017 07:59:14 -0400 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:34988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbQOk-0001aC-P1 for guix-patches@gnu.org; Sat, 29 Jul 2017 07:59:10 -0400 Received: by mail-lf0-x22a.google.com with SMTP id t128so69584616lff.2 for ; Sat, 29 Jul 2017 04:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=aDxMpHO0XYNDTNevV19Zggm9Mv5Z6Aebj6TkKX+SvU0=; b=ljqri8wgQaW3ZmUUAIauhCMeHg2fl7aK3KUqKbdj3fipb4ElQbFFiVH3VHkvzwZ4xA UBsVUEIs8tNNRXr4W1PRCBlhWahA3f7FFqmojb4wu5nBha+ZNQL1Z8Ze/7MzJWjCdF20 ygbCzyAaAtOxsbDTaO/3F2SvZttV7sbDGUlUap8P28EAqzjhPGWiVyTVD4j4hE6UrehY IzFNf0Za8xF14oZ5oUUJ1t5qJ0wIhIbHCL+BKTTVR7rWNzWYDVPfcw7S/4wRj49Aut3H yMJ/lBVUWMGwmu8anIr/5adz/J9sxLbh4/DRG2OvDlFCLq+UyPIWx1crkbKEt2ggqBnb Ukkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=aDxMpHO0XYNDTNevV19Zggm9Mv5Z6Aebj6TkKX+SvU0=; b=ecwge8elas/CnurEmjcyEccoryWb7SmHge78m80u/wpds8lswrDWkU7vBbAX79/TAU srtXTolvGa3alLzexD/pdz82iXBpkJQ8jsbafq+jacWZlZFEhBpmpABAxMibCnOyaetn Npdraipi7ywCY6poHYsoIr0ajl+6PctgV8NqeiXn89TY+Cpa+m8c9FFEn3ZGsWYOCT21 Ih27s4dCXDaabdQyzcfIVTul0ne73W3tvnQuBtolpD+3a6U7KrW/ta8hxMdnWcUkwQ5+ VSaHcIsyN2N8Nne+6A08Fu3LMPdKZ613gyCDkyssh+/q53+IrB1yrBj2Y9OPqjMKhec/ ocPg== X-Gm-Message-State: AIVw111s2QWDA/ZLXQjFKIZMPswU00PHDvbRO3PT2CswgYJ+829t2QCE zwk+tAy0znLwocAd X-Received: by 10.46.9.210 with SMTP id 201mr3708371ljj.57.1501329549083; Sat, 29 Jul 2017 04:59:09 -0700 (PDT) Received: from magnolia ([178.71.31.143]) by smtp.gmail.com with ESMTPSA id 79sm4562983lfr.94.2017.07.29.04.59.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 29 Jul 2017 04:59:08 -0700 (PDT) From: Oleg Pykhalov Date: Sat, 29 Jul 2017 14:59:07 +0300 Message-ID: <87r2wzv4hg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain Ludovic's hack from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27691#49 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-doc-Add-note-about-overwritting-gnu-store-.-run-vm.s.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh >From 26088eca8d584a635954e121e0e6b2e64b1f568d Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 29 Jul 2017 14:50:41 +0300 Subject: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh defaults. * doc/guix.texi (Invoking guix system): Add note about overwritting /gnu/store/...-run-vm.sh defaults. --- doc/guix.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 27ba68d67..840232b37 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -16429,6 +16429,13 @@ guix system vm my-config.scm \ --expose=3D$HOME --share=3D$HOME/tmp=3D/exchange @end example =20 +will return a @file{/gnu/store/=E2=80=A6-run-vm.sh} shell-script on succes= s. +You can overwrite defaults: + +@example +/gnu/store/=E2=80=A6-run-vm.sh -m 1024 +@end example + On GNU/Linux, the default is to boot directly to the kernel; this has the advantage of requiring only a very tiny root disk image since the store of the host can then be mounted. --=20 2.13.3 --=-=-=-- From unknown Wed Aug 20 03:37:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27869] [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Jul 2017 20:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Oleg Pykhalov Cc: 27869@debbugs.gnu.org Received: via spool by 27869-submit@debbugs.gnu.org id=B27869.15013596847626 (code B ref 27869); Sat, 29 Jul 2017 20:22:02 +0000 Received: (at 27869) by debbugs.gnu.org; 29 Jul 2017 20:21:24 +0000 Received: from localhost ([127.0.0.1]:33368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbYEl-0001yw-Qp for submit@debbugs.gnu.org; Sat, 29 Jul 2017 16:21:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58967) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbYEk-0001yg-Rg for 27869@debbugs.gnu.org; Sat, 29 Jul 2017 16:21:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbYEc-0000Nj-Ln for 27869@debbugs.gnu.org; Sat, 29 Jul 2017 16:21:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbYEc-0000NT-I3; Sat, 29 Jul 2017 16:21:14 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:56388 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dbYEc-0000w9-0g; Sat, 29 Jul 2017 16:21:14 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87r2wzv4hg.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 11 Thermidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 29 Jul 2017 22:21:11 +0200 In-Reply-To: <87r2wzv4hg.fsf@gmail.com> (Oleg Pykhalov's message of "Sat, 29 Jul 2017 14:59:07 +0300") Message-ID: <874ltvhu4o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Oleg, Oleg Pykhalov skribis: > Ludovic's hack from > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27691#49 The manual already states (info "(guix) Invoking guix system"): --8<---------------cut here---------------start------------->8--- =E2=80=98vm=E2=80=99 Build a virtual machine that contains the operating system declared in FILE, and return a script to run that virtual machine (VM). Arguments given to the script are passed to QEMU. --8<---------------cut here---------------end--------------->8--- Perhaps we should add the example to illustrate this last sentence? Ludo=E2=80=99. From unknown Wed Aug 20 03:37:12 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27869] [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh Resent-From: Oleg Pykhalov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 29 Jul 2017 20:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27869 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Cc: 27869@debbugs.gnu.org Received: via spool by 27869-submit@debbugs.gnu.org id=B27869.150136119610181 (code B ref 27869); Sat, 29 Jul 2017 20:47:02 +0000 Received: (at 27869) by debbugs.gnu.org; 29 Jul 2017 20:46:36 +0000 Received: from localhost ([127.0.0.1]:33414 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbYdA-0002e9-AF for submit@debbugs.gnu.org; Sat, 29 Jul 2017 16:46:36 -0400 Received: from mail-lf0-f46.google.com ([209.85.215.46]:35349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbYd8-0002dw-RA for 27869@debbugs.gnu.org; Sat, 29 Jul 2017 16:46:35 -0400 Received: by mail-lf0-f46.google.com with SMTP id t128so71915748lff.2 for <27869@debbugs.gnu.org>; Sat, 29 Jul 2017 13:46:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=G1L+Z9CuDNPg+Ex07x5kaGfU4FRPgKVlOl+Sr+2C9vY=; b=blTtQX7WQlEZnnpD926JKHz+rzXk3hEuOYiN27bNroesM69KuK6TjN7M/MnWQAuKrL Ni+mKL8GBpoVCMVAI7/mNvVf/OCrXb6S7EWMTFgn2gdQ4ifAEG31bHPFSlBetdTdV2ZF aI0a/tsn3vR1p3bTKpl9srLFFVc/v9yyl87yFMoMhU5KkWt/DRF8nG8srKNQOu0jwAyz CJ0QeaZZKjzZH+aPSZ/HAnwnrRKJKvzAotZOWg93oP84zUUIR/sHlu4OwTnwam5GKm6Y 1XBVr44DRDCHVfHE1rGFc7oyLf4kSeqs+ajDhayzqV1aew/wUsWesAJJzbQkyorTw5Ez 1RTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=G1L+Z9CuDNPg+Ex07x5kaGfU4FRPgKVlOl+Sr+2C9vY=; b=Z/y7oKogaPL47Gz2+eUoO7mPh8nRp4632OQrTTZB7yMGwJ/PjlFJXc5QCEYlXaFYtl MVvryyITe2dloLwglfq5cDL4ut+487szwMmE3eBwWxdxPjqrrWzS41qv/hPIYynFkYD0 H6lcJ6rNVeVZyIadhJalHO5mNA/78lI9rYU7LvCOQazW5EDyARXd6WrAY2CCYLKUy1Wy 8IhwF2+BLyQsZOnHBzDXilJbgl6DFTtsjxjPssCxGilMli3MNH4ssxW4jlv7uEMNcvnR YNAaRN9UU/ioGjAa+KcorFLupa+TGezdWjqNROguh9ow0XjWjeMc0/h2KRosR8Dw4tsN g7qg== X-Gm-Message-State: AIVw113m16fAdv3y6NZuFGnYnZBUEKU+V6veLHaNJeaOPV/h2r6qnU4h WIeWeVnqRNOTHAl3 X-Received: by 10.25.22.200 with SMTP id 69mr4098935lfw.221.1501361188773; Sat, 29 Jul 2017 13:46:28 -0700 (PDT) Received: from magnolia (ppp91-122-83-77.pppoe.avangarddsl.ru. [91.122.83.77]) by smtp.gmail.com with ESMTPSA id 79sm4719033lfr.94.2017.07.29.13.46.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 29 Jul 2017 13:46:27 -0700 (PDT) From: Oleg Pykhalov References: <87r2wzv4hg.fsf@gmail.com> <874ltvhu4o.fsf@gnu.org> Date: Sat, 29 Jul 2017 23:46:21 +0300 In-Reply-To: <874ltvhu4o.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sat, 29 Jul 2017 22:21:11 +0200") Message-ID: <87r2wzq8de.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) Hi Ludovic, ludo@gnu.org (Ludovic Court=C3=A8s) writes: [...] > Perhaps we should add the example to illustrate this last sentence? Yea, it will be great, because it's not obvious for me and maybe somebody else. Is current example OK? [...] From unknown Wed Aug 20 03:37:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Oleg Pykhalov Subject: bug#27869: closed (Re: [bug#27869] [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh) Message-ID: References: <878tj6glkl.fsf@gnu.org> <87r2wzv4hg.fsf@gmail.com> X-Gnu-PR-Message: they-closed 27869 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 27869@debbugs.gnu.org Date: Sun, 30 Jul 2017 12:24:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1501417442-4712-1" This is a multi-part message in MIME format... ------------=_1501417442-4712-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27869: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 27869@debbugs.gnu.org. --=20 27869: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27869 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1501417442-4712-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27869-done) by debbugs.gnu.org; 30 Jul 2017 12:23:53 +0000 Received: from localhost ([127.0.0.1]:33692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbnGD-0001Dd-B4 for submit@debbugs.gnu.org; Sun, 30 Jul 2017 08:23:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbnGB-0001DR-Nl for 27869-done@debbugs.gnu.org; Sun, 30 Jul 2017 08:23:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbnG3-0001pu-F3 for 27869-done@debbugs.gnu.org; Sun, 30 Jul 2017 08:23:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbnG3-0001ph-Az; Sun, 30 Jul 2017 08:23:43 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:58714 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dbnG2-0001Eb-SL; Sun, 30 Jul 2017 08:23:43 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Oleg Pykhalov Subject: Re: [bug#27869] [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh References: <87r2wzv4hg.fsf@gmail.com> <874ltvhu4o.fsf@gnu.org> <87r2wzq8de.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Thermidor an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sun, 30 Jul 2017 14:23:38 +0200 In-Reply-To: <87r2wzq8de.fsf@gmail.com> (Oleg Pykhalov's message of "Sat, 29 Jul 2017 23:46:21 +0300") Message-ID: <878tj6glkl.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 27869-done Cc: 27869-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Heya, Oleg Pykhalov skribis: > Hi Ludovic, > > ludo@gnu.org (Ludovic Court=C3=A8s) writes: > > [...] > >> Perhaps we should add the example to illustrate this last sentence? > > Yea, it will be great, because it's not obvious for me and maybe > somebody else. Is current example OK? Yes, I=E2=80=99ve committed this: --=-=-= Content-Type: text/x-patch Content-Disposition: inline diff --git a/doc/guix.texi b/doc/guix.texi index 345285031..77909f886 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -16440,7 +16440,13 @@ passed. @anchor{guix system vm} Build a virtual machine that contains the operating system declared in @var{file}, and return a script to run that virtual machine (VM). -Arguments given to the script are passed to QEMU. +Arguments given to the script are passed to QEMU as in the example +below, which enables networking and requests 1@tie{}GiB of RAM for the +emulated machine: + +@example +$ /gnu/store/@dots{}-run-vm.sh -m 1024 -net user +@end example The VM shares its store with the host system. --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: base64 DQpUaGFua3MsDQpMdWRv4oCZLg0K --=-=-=-- ------------=_1501417442-4712-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Jul 2017 11:59:25 +0000 Received: from localhost ([127.0.0.1]:60695 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbQOy-0006lk-OO for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dbQOw-0006lY-A1 for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbQOp-0001kE-Vs for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38879) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dbQOp-0001jx-Sr for submit@debbugs.gnu.org; Sat, 29 Jul 2017 07:59:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48427) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbQOo-0006mA-5t for guix-patches@gnu.org; Sat, 29 Jul 2017 07:59:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbQOl-0001cB-1s for guix-patches@gnu.org; Sat, 29 Jul 2017 07:59:14 -0400 Received: from mail-lf0-x22a.google.com ([2a00:1450:4010:c07::22a]:34988) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbQOk-0001aC-P1 for guix-patches@gnu.org; Sat, 29 Jul 2017 07:59:10 -0400 Received: by mail-lf0-x22a.google.com with SMTP id t128so69584616lff.2 for ; Sat, 29 Jul 2017 04:59:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=aDxMpHO0XYNDTNevV19Zggm9Mv5Z6Aebj6TkKX+SvU0=; b=ljqri8wgQaW3ZmUUAIauhCMeHg2fl7aK3KUqKbdj3fipb4ElQbFFiVH3VHkvzwZ4xA UBsVUEIs8tNNRXr4W1PRCBlhWahA3f7FFqmojb4wu5nBha+ZNQL1Z8Ze/7MzJWjCdF20 ygbCzyAaAtOxsbDTaO/3F2SvZttV7sbDGUlUap8P28EAqzjhPGWiVyTVD4j4hE6UrehY IzFNf0Za8xF14oZ5oUUJ1t5qJ0wIhIbHCL+BKTTVR7rWNzWYDVPfcw7S/4wRj49Aut3H yMJ/lBVUWMGwmu8anIr/5adz/J9sxLbh4/DRG2OvDlFCLq+UyPIWx1crkbKEt2ggqBnb Ukkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=aDxMpHO0XYNDTNevV19Zggm9Mv5Z6Aebj6TkKX+SvU0=; b=ecwge8elas/CnurEmjcyEccoryWb7SmHge78m80u/wpds8lswrDWkU7vBbAX79/TAU srtXTolvGa3alLzexD/pdz82iXBpkJQ8jsbafq+jacWZlZFEhBpmpABAxMibCnOyaetn Npdraipi7ywCY6poHYsoIr0ajl+6PctgV8NqeiXn89TY+Cpa+m8c9FFEn3ZGsWYOCT21 Ih27s4dCXDaabdQyzcfIVTul0ne73W3tvnQuBtolpD+3a6U7KrW/ta8hxMdnWcUkwQ5+ VSaHcIsyN2N8Nne+6A08Fu3LMPdKZ613gyCDkyssh+/q53+IrB1yrBj2Y9OPqjMKhec/ ocPg== X-Gm-Message-State: AIVw111s2QWDA/ZLXQjFKIZMPswU00PHDvbRO3PT2CswgYJ+829t2QCE zwk+tAy0znLwocAd X-Received: by 10.46.9.210 with SMTP id 201mr3708371ljj.57.1501329549083; Sat, 29 Jul 2017 04:59:09 -0700 (PDT) Received: from magnolia ([178.71.31.143]) by smtp.gmail.com with ESMTPSA id 79sm4562983lfr.94.2017.07.29.04.59.07 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 29 Jul 2017 04:59:08 -0700 (PDT) From: Oleg Pykhalov To: guix-patches@gnu.org Subject: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh Date: Sat, 29 Jul 2017 14:59:07 +0300 Message-ID: <87r2wzv4hg.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --=-=-= Content-Type: text/plain Ludovic's hack from https://debbugs.gnu.org/cgi/bugreport.cgi?bug=27691#49 --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-doc-Add-note-about-overwritting-gnu-store-.-run-vm.s.patch Content-Transfer-Encoding: quoted-printable Content-Description: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh >From 26088eca8d584a635954e121e0e6b2e64b1f568d Mon Sep 17 00:00:00 2001 From: Oleg Pykhalov Date: Sat, 29 Jul 2017 14:50:41 +0300 Subject: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh defaults. * doc/guix.texi (Invoking guix system): Add note about overwritting /gnu/store/...-run-vm.sh defaults. --- doc/guix.texi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/guix.texi b/doc/guix.texi index 27ba68d67..840232b37 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -16429,6 +16429,13 @@ guix system vm my-config.scm \ --expose=3D$HOME --share=3D$HOME/tmp=3D/exchange @end example =20 +will return a @file{/gnu/store/=E2=80=A6-run-vm.sh} shell-script on succes= s. +You can overwrite defaults: + +@example +/gnu/store/=E2=80=A6-run-vm.sh -m 1024 +@end example + On GNU/Linux, the default is to boot directly to the kernel; this has the advantage of requiring only a very tiny root disk image since the store of the host can then be mounted. --=20 2.13.3 --=-=-=-- ------------=_1501417442-4712-1--