1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/qemu/bin/redox

10 lines
283 B
Bash
Executable file

#!/bin/sh -x
exec qemu-system-x86_64 \
-enable-kvm \
-M q35 \
-cpu host -smp "$(("$(nproc)" / 2))" \
-m "$(("$(free | grep '^Mem:\s' | awk '{ print $NF }')" / 2))K" \
-device e1000,netdev=net0 \
-device nec-usb-xhci,id=xhci \
-device ich9-intel-hda -device hda-duplex \
"$@"