aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-22 22:32:53 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-22 23:24:13 +0200
commitf19c6e5fe79c8bbd3c9ea25cd0380681bd99ce13 (patch)
tree39fd8a06221d3e86a8105bac61f71b2cdaaac9cf /gnu
parentc4a74364b9ddb5c34bce788d453f93aa307731dd (diff)
downloadguix-f19c6e5fe79c8bbd3c9ea25cd0380681bd99ce13.tar.gz
guix-f19c6e5fe79c8bbd3c9ea25cd0380681bd99ce13.zip
vm: Use a para-virtualized disk when creating an image.
* guix/build/vm.scm (load-in-linux-vm): When MAKE-DISK-IMAGE?, use '-drive ...,if=virtio' for better performance. * gnu/system/vm.scm (qemu-image): Use /dev/vda instead of /dev/sda.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/system/vm.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index 39ce5bb6ef..7d0ffd971e 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -236,7 +236,7 @@ the image."
(let ((graphs '#$(match inputs
(((names . _) ...)
names))))
- (initialize-hard-disk "/dev/sda"
+ (initialize-hard-disk "/dev/vda"
#:grub.cfg #$grub-configuration
#:closures graphs
#:copy-closures? #$copy-inputs?