Fix VM usage and update ex/runvm
[gruntmaster-daemon.git] / ex / runvm
index 8495e51..18331a0 100755 (executable)
--- a/ex/runvm
+++ b/ex/runvm
@@ -2,10 +2,10 @@
 ROOT=.
 
 qemu-system-x86_64 \
-       -enable-kvm -cpu host -m 256MB \
-       -nodefaults -nographic \
+       -enable-kvm -cpu host -m 1G \
+       -nodefaults -display none -monitor none \
        -kernel $ROOT/bzImage \
-       -append 'root=/dev/vda console=ttyS0,1200 init=/bin/bash --login' \
+       -append 'root=/dev/vda console=ttyS0,1200 acpi=noirq quiet init=/bin/bash --login' \
        -drive file=$ROOT/vm.squashfs,if=virtio,readonly \
        -virtfs local,id=virtfs0,path=.,security_model=none,mount_tag=virtfs \
-       -serial stdio "$@"
+       -chardev stdio,id=stdio,signal=off -serial chardev:stdio "$@"
This page took 0.026609 seconds and 4 git commands to generate.