mirror of
https://github.com/justinian/jsix.git
synced 2025-12-09 16:04:32 -08:00
[scripts] Make SMP more easily configurable in qemu.sh
This commit is contained in:
3
qemu.sh
3
qemu.sh
@@ -9,6 +9,7 @@ gfx="-nographic"
|
||||
vga="-vga none"
|
||||
kvm=""
|
||||
cpu="Broadwell,+pdpe1gb"
|
||||
smp=4
|
||||
|
||||
for arg in $@; do
|
||||
case "${arg}" in
|
||||
@@ -70,7 +71,7 @@ exec qemu-system-x86_64 \
|
||||
-monitor telnet:localhost:45454,server,nowait \
|
||||
-serial stdio \
|
||||
-serial telnet:localhost:45455,server,nowait \
|
||||
-smp 4 \
|
||||
-smp "${smp}" \
|
||||
-m 512 \
|
||||
-d mmu,int,guest_errors \
|
||||
-D jsix.log \
|
||||
|
||||
Reference in New Issue
Block a user