summaryrefslogtreecommitdiff
path: root/guix/build/vm.scm
diff options
context:
space:
mode:
Diffstat (limited to 'guix/build/vm.scm')
-rw-r--r--guix/build/vm.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/vm.scm b/guix/build/vm.scm
index 4de536abb4..e559542f0a 100644
--- a/guix/build/vm.scm
+++ b/guix/build/vm.scm
@@ -96,7 +96,8 @@ the #:references-graphs parameter of 'derivation'."
"-append" (string-append "console=ttyS0 --load="
builder)
(if make-disk-image?
- `("-hda" ,image-file)
+ `("-drive" ,(string-append "file=" image-file
+ ",if=virtio"))
'())))
(error "qemu failed" qemu))