From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36870) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dbnGQ-0001G2-0q for guix-patches@gnu.org; Sun, 30 Jul 2017 08:24:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dbnGM-00021S-SH for guix-patches@gnu.org; Sun, 30 Jul 2017 08:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:59249) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dbnGM-00021F-OW for guix-patches@gnu.org; Sun, 30 Jul 2017 08:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dbnGM-0001EA-Iv for guix-patches@gnu.org; Sun, 30 Jul 2017 08:24:02 -0400 Subject: bug#27869: [PATCH] doc: Add note about overwritting /gnu/store/...-run-vm.sh Resent-To: guix-patches@gnu.org Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87r2wzv4hg.fsf@gmail.com> <874ltvhu4o.fsf@gnu.org> <87r2wzq8de.fsf@gmail.com> 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> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" 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: Oleg Pykhalov Cc: 27869-done@debbugs.gnu.org --=-=-= 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 --=-=-=--