[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: doc: Recommend virtio-blk to access the VM image.
From: |
guix-commits |
Subject: |
02/07: doc: Recommend virtio-blk to access the VM image. |
Date: |
Sat, 27 Apr 2019 09:08:28 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 05b60752a67af294c35d8f4218487c9a44b5fdee
Author: Ludovic Courtès <address@hidden>
Date: Sat Apr 27 10:09:27 2019 +0200
doc: Recommend virtio-blk to access the VM image.
* doc/guix.texi (Running Guix in a VM): Recommend virtio-blk to access
the image.
---
doc/guix.texi | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/doc/guix.texi b/doc/guix.texi
index d9473a1..de30743 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -24647,7 +24647,9 @@ vm-image} on x86_64 hardware:
@example
$ qemu-system-x86_64 \
-net user -net nic,model=virtio \
- -enable-kvm -m 512 /tmp/qemu-image
+ -enable-kvm -m 512 \
+ -device virtio-blk,drive=myhd \
+ -drive if=none,file=/tmp/qemu-image,id=myhd
@end example
Here is what each of these options means:
@@ -24677,8 +24679,15 @@ faster.
RAM available to the guest OS, in mebibytes. Defaults to address@hidden,
which may be insufficient for some operations.
address@hidden /tmp/qemu-image
-The file name of the qcow2 image.
address@hidden -device virtio-blk,drive=myhd
+Create a @code{virtio-blk} drive called ``myhd''. @code{virtio-blk} is a
+``paravirtualization'' mechanism for block devices that allows QEMU to achieve
+better performance than if it were emulating a complete disk drive. See the
+QEMU and KVM documentation for more info.
+
address@hidden -drive if=none,file=/tmp/qemu-image,id=myhd
+Use our QCOW image, the @file{/tmp/qemu-image} file, as the backing store the
+the ``myhd'' drive.
@end table
The default @command{run-vm.sh} script that is returned by an invocation of
- branch master updated (6cd7b1b -> 6e0521e), guix-commits, 2019/04/27
- 01/07: maint: Pass '--image-size=30G' to 'guix system vm-image'., guix-commits, 2019/04/27
- 02/07: doc: Recommend virtio-blk to access the VM image.,
guix-commits <=
- 05/07: vm-image: Mention 'info guix' in the MOTD., guix-commits, 2019/04/27
- 04/07: vm-image: Add a font to the global profile., guix-commits, 2019/04/27
- 03/07: doc: Update bit about SSH in the VM., guix-commits, 2019/04/27
- 07/07: vm-image: Allow for password-less sudo., guix-commits, 2019/04/27
- 06/07: doc: Suggest 1G of RAM for the VM image., guix-commits, 2019/04/27