Fix VM usage and update ex/runvm
[gruntmaster-daemon.git] / ex / runvm
1 #!/bin/bash
2 ROOT=.
3
4 qemu-system-x86_64 \
5 -enable-kvm -cpu host -m 1G \
6 -nodefaults -display none -monitor none \
7 -kernel $ROOT/bzImage \
8 -append 'root=/dev/vda console=ttyS0,1200 acpi=noirq quiet init=/bin/bash --login' \
9 -drive file=$ROOT/vm.squashfs,if=virtio,readonly \
10 -virtfs local,id=virtfs0,path=.,security_model=none,mount_tag=virtfs \
11 -chardev stdio,id=stdio,signal=off -serial chardev:stdio "$@"
This page took 0.051392 seconds and 4 git commands to generate.