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