~ruther/guix-local

5a84a6c3146bd0ea8e5cbccfee2f6c9f302c25e0 — Ludovic Courtès 12 years ago 838d9a9
vm: Pass '-serial stdio' in the run-vm.sh.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add
  '-serial stdio'.
1 files changed, 1 insertions(+), 0 deletions(-)

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