Created
August 1, 2018 21:43
-
-
Save sameo/770e9f9e2ab59ae05ef61c497884264a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*- | |
| # ex: ts=8 sw=4 sts=4 et filetype=sh | |
| sudo /home/samuel/devlp/hypervisor/nemu/build-x86-64/x86_64-softmmu/qemu-system-x86_64 \ | |
| -nographic \ | |
| -nodefaults \ | |
| -L . \ | |
| -net none \ | |
| -machine virt,accel=kvm,kernel_irqchip,nofw \ | |
| -smp sockets=1,cpus=4,cores=2,maxcpus=8 -cpu host \ | |
| -kernel /home/samuel/devlp/kernels/nfc/arch/x86/boot/compressed/vmlinux.bin -append 'console=hvc0 single iommu=false root=/dev/ram0' \ | |
| -device virtio-serial-pci,id=virtio-serial0 -device virtconsole,chardev=charconsole0,id=console0 -chardev stdio,id=charconsole0 \ | |
| -monitor telnet:127.0.0.1:55555,server,nowait |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment