M gnu/system/vm.scm => gnu/system/vm.scm +1 -1
@@ 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?
M guix/build/vm.scm => guix/build/vm.scm +2 -1
@@ 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))