feat: start setup virtio

This commit is contained in:
2022-09-01 20:45:40 +02:00
parent e850dabc8b
commit f037adcebd
7 changed files with 196 additions and 3 deletions

View File

@@ -37,6 +37,10 @@ while [[ "$#" -gt 0 ]]; do
ARGS="${ARGS} -drive id=disk1,file=$2,if=none -device ahci,id=ahci -device ide-drive,drive=disk1,bus=ahci.0"
shift 2
;;
--virtio)
ARGS="$ARGS -drive id=disk1,file=$2,if=virtio"
shift 2
;;
-m | --max-cpu)
ARGS="${ARGS} -cpu max"
shift