Store the pid of the VM

This commit is contained in:
Martin Wimpress 2021-10-19 20:49:57 +01:00
parent e9f26f7758
commit 4eb11caa10
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -677,7 +677,7 @@ function vm_boot() {
local args=()
# shellcheck disable=SC2054,SC2206,SC2140
args+=(-name ${VMNAME},process=${VMNAME}
args+=(-name ${VMNAME},process=${VMNAME} -pidfile "${VMDIR}/${VMNAME}.pid"
-enable-kvm -machine q35,vmport=off ${GUEST_TWEAKS}
${CPU} ${SMP}
-m ${RAM_VM} ${BALLOON}