Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- OPTS="$OPTS -cpu host"
- OPTS="$OPTS -smp 8,sockets=1,cores=8,threads=1"
- OPTS="$OPTS -enable-kvm"
- OPTS="$OPTS -m 8000"
- OPTS="$OPTS -device vfio-pci,host=0b:00.0,multifunction=on"
- OPTS="$OPTS -device vfio-pci,host=0b:00.1"
- OPTS="$OPTS -drive file=/dev/sdb,index=0,media=disk,driver=raw"
- OPTS="$OPTS -drive file=/usr/share/edk2-ovmf/OVMF.fd,if=pflash,format=raw,unit=0"
- OPTS="$OPTS -monitor stdio"
- OPTS="$OPTS -vga none"
- OPTS="$OPTS -monitor stdio"
- qemu-system-x86_64 $OPTS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement