diff --git a/gnu/build/vm.scm b/gnu/build/vm.scm index 20ee12709b..ed84463677 100644 --- a/gnu/build/vm.scm +++ b/gnu/build/vm.scm @@ -127,8 +127,10 @@ (define* (load-in-linux-vm builder builder) (append (if make-disk-image? - `("-drive" ,(string-append "file=" output - ",if=virtio")) + `("-device" "virtio-blk,drive=myhd" + "-drive" ,(string-append "if=none,file=" output + ",format=" disk-image-format + ",id=myhd")) '()) ;; Only enable kvm if we see /dev/kvm exists. ;; This allows users without hardware virtualization to still