Improve VM support
[gruntmaster-daemon.git] / ex / runvm
1 #!/bin/bash
2 ROOT=.
3
4 qemu-system-x86_64 \
5 -enable-kvm -cpu host -m 256MB \
6 -nodefaults -nographic \
7 -kernel $ROOT/bzImage \
8 -append 'root=/dev/vda console=ttyS0,1200 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 -serial stdio "$@"
This page took 0.047885 seconds and 5 git commands to generate.