8 lines
181 B
Bash
Executable file
8 lines
181 B
Bash
Executable file
#!/bin/sh -x
|
|
qemu-system-x86_64 \
|
|
-enable-kvm \
|
|
-M q35 \
|
|
-cpu host -smp "$(("$(nproc)" / 2))" \
|
|
-m "$(("$(free | awk '($1 == "Mem:") { print $2 }')" / 2))K" \
|
|
-net nic \
|
|
"$@"
|