From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [v2 1/1] doc: Show how to boot result of 'vm-image'. Date: Tue, 26 Jan 2016 11:08:09 +0100 Message-ID: <87powovek6.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58590) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aO0Xq-0002c4-9o for guix-devel@gnu.org; Tue, 26 Jan 2016 05:08:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aO0Xk-0008O2-9D for guix-devel@gnu.org; Tue, 26 Jan 2016 05:08:18 -0500 In-Reply-To: (Leo Famulari's message of "Sun, 24 Jan 2016 16:22:55 -0500") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Leo Famulari Cc: guix-devel@gnu.org Leo Famulari skribis: > * doc/guix.texi (Running GuixSD in a VM): New node. > (Invoking guix system): Add reference to 'Running GuixSD in a VM'. [...] > +@node Running GuixSD in a VM > +@subsection Running GuixSD in a VM s/VM/virtual machine/ on the second line. > +One way to run GuixSD in a virtual machine is to build a GuixSD virtual After =E2=80=9Cvirtual machine=E2=80=9D, add =E2=80=9C(VM)=E2=80=9D to intr= oduce the acronym. > +machine image using @command{guix system vm-image} (@pxref{Invoking guix > +system}). The returned image is in qcow2 format, which the ^^ Please make sure that all the end-of-sentence periods are followed by two spaces or a newline (info "(texinfo) Not Ending a Sentence"). > +$ qemu-system-x86_64 \ > +-net user -net nic,model=3Dvirtio \ > +-enable-kvm -m 256 /tmp/qemu-image Would be nice to align the 2nd and 3rd line below the =E2=80=98e=E2=80=99 o= f =E2=80=98qemu=E2=80=99. > +And the annotated version: Maybe =E2=80=9CHere is what each of these options means:=E2=80=9D. > +x86_64, you can get a list of available NIC models by running > +`qemu-system-x86_64 -net nic,model=3Dhelp`. Instead of backquotes, use @command{=E2=80=A6}. > +@item -enable-kvm > +If your system has hardware virtualization extensions, enabling the > +kernel virtual machine will make things run faster. s/kernel virtual machine/Linux kernel's virtual machine support (KVM)/ > +@item -m 256 > +RAM available to the guest OS, in megabytes. Defaults to 128 megabytes, > +which is not enough for the Guix daemon. =E2=80=9CDefaults to 128@tie{}MiB, which may be insufficient for some operations.=E2=80=9D (It=E2=80=99s not the daemon specifically, it=E2=80= =99s mostly if you want to run X + Xfce, for instance. The former =E2=80=98guix substitute=E2=80= =99 used to take quite a lot of memory, but I think that=E2=80=99s no longer the case s= ince we switched to HTTP pipelining.) > +@item /tmp/qemu-image > +The filesystem path of the qcow2 image. s/filesystem path/file name/ OK with these changes, thanks a lot! Ludo=E2=80=99.