summaryrefslogtreecommitdiff
path: root/gnu/system
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-05-13 23:56:24 +0200
committerLudovic Courtès <ludo@gnu.org>2014-05-14 01:02:46 +0200
commit5a84a6c3146bd0ea8e5cbccfee2f6c9f302c25e0 (patch)
treed6f362553b19eaac0567ee5fe900ce7f4bc1757d /gnu/system
parent838d9a9ddb3186e587adfa7329c7e577d766001d (diff)
downloadguix-patches-5a84a6c3146bd0ea8e5cbccfee2f6c9f302c25e0.tar
guix-patches-5a84a6c3146bd0ea8e5cbccfee2f6c9f302c25e0.tar.gz
vm: Pass '-serial stdio' in the run-vm.sh.
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add '-serial stdio'.
Diffstat (limited to 'gnu/system')
-rw-r--r--gnu/system/vm.scm1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index ede7ea7726..c6c23213ca 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -365,6 +365,7 @@ exec " #$qemu "/bin/qemu-system-x86_64 -enable-kvm -no-reboot -net nic,model=vir
-initrd " #$os-drv "/initrd \
-append \"" #$(if graphic? "" "console=ttyS0 ")
"--load=" #$os-drv "/boot --root=/dev/vda1\" \
+ -serial stdio \
-drive file=" #$image
",if=virtio,cache=writeback,werror=report,readonly\n")
port)