2
0
mirror of https://github.com/linka-cloud/d2vm.git synced 2025-12-14 15:03:12 +00:00

builder: check dependencies

qemu.sh: fix kvm flag

Signed-off-by: Adphi <philippe.adrien.nousse@gmail.com>
This commit is contained in:
2022-04-19 14:17:30 +02:00
parent 362c6e1d8c
commit c240aac13d
2 changed files with 20 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ ARGS=""
if [[ $OSTYPE == 'darwin'* ]]; then
ARGS="-M accel=hvf"
else
ARGS="-use-kvm"
ARGS="-enable-kvm"
fi
qemu-system-x86_64 -drive file=$IMG,index=0,media=disk,format=qcow2 -m 4096 -cpu host -nographic ${ARGS} ${@: 2}