From 83aae999081dd7abc339a1e1bd9aafb482a45396 Mon Sep 17 00:00:00 2001 From: Byju John Date: Sat, 8 Oct 2022 02:39:26 +0100 Subject: [PATCH] qm-shutdown: add page (#8764) --- pages/linux/qa-shutdown.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/qa-shutdown.md diff --git a/pages/linux/qa-shutdown.md b/pages/linux/qa-shutdown.md new file mode 100644 index 000000000..941056801 --- /dev/null +++ b/pages/linux/qa-shutdown.md @@ -0,0 +1,24 @@ +# qm shutdown + +> Shutdown a virtual machine on QEMU/KVM Virtual Machine Manager. +> More information: . + +- Shutdown a virtual machine: + +`qm shutdown {{VM_ID}}` + +- Shutdown a virtual machine after wait for at most 10 seconds: + +`qm shutdown --timeout {{10}} {{VM_ID}}` + +- Shutdown a virtual machine and do not deactivate storage volumes: + +`qm shutdown --keepActive {{true}} {{VM_ID}}` + +- Shutdown a virtual machine and skip lock (only root can use this option): + +`qm shutdown --skiplock {{true}} {{VM_ID}}` + +- Stop and shutdown a virtual machine: + +`qm shutdown --forceStop {{true}} {{VM_ID}}`