]> iEval git - gruntmaster-daemon.git/blob - ex/runvm
Fix generator for square test problem
[gruntmaster-daemon.git] / ex / runvm
1 #!/bin/bash
2 ROOT=/home/marius/git/gruntmaster-daemon
3
4 qemu-system-x86_64 \
5 -enable-kvm -cpu host -m 256MB \
6 -nodefaults -nographic \
7 -kernel $ROOT/vm/boot/vmlinuz-3.2.0-4-amd64 \
8 -initrd $ROOT/vm/boot/initrd.img-3.2.0-4-amd64 \
9 -append 'root=/dev/vda console=ttyS0,38400 quiet init=/bin/bash --login' \
10 -drive file=$ROOT/vm.squashfs,if=virtio,readonly \
11 -virtfs local,id=virtfs0,path=.,security_model=none,mount_tag=virtfs \
12 -chardev stdio,id=stdio,signal=on \
13 -chardev pipe,id=hostpipe,path=$1 \
14 -serial chardev:stdio \
15 -serial chardev:hostpipe
This page took 0.046226 seconds and 4 git commands to generate.