Store the pid of the VM
This commit is contained in:
parent
e9f26f7758
commit
4eb11caa10
2
quickemu
2
quickemu
@ -677,7 +677,7 @@ function vm_boot() {
|
|||||||
local args=()
|
local args=()
|
||||||
|
|
||||||
# shellcheck disable=SC2054,SC2206,SC2140
|
# 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}
|
-enable-kvm -machine q35,vmport=off ${GUEST_TWEAKS}
|
||||||
${CPU} ${SMP}
|
${CPU} ${SMP}
|
||||||
-m ${RAM_VM} ${BALLOON}
|
-m ${RAM_VM} ${BALLOON}
|
||||||
|
Loading…
Reference in New Issue
Block a user