]>
Commit | Line | Data |
---|---|---|
fdb99417 | 1 | #!/bin/bash |
0f817fa6 | 2 | ROOT=. |
fdb99417 MG |
3 | |
4 | qemu-system-x86_64 \ | |
5 | -enable-kvm -cpu host -m 256MB \ | |
6 | -nodefaults -nographic \ | |
0f817fa6 MG |
7 | -kernel $ROOT/bzImage \ |
8 | -append 'root=/dev/vda console=ttyS0,1200 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 \ | |
0f817fa6 | 11 | -serial stdio "$@" |