qm-resume
Resume a stopped virtual machine (VM)
TLDR
Resume a specific virtual machine
Resume a specific virtual machine ignoring locks (requires root)
SYNOPSIS
qm resume <vmid>
PARAMETERS
<vmid>
The unique integer identifier for the virtual machine to be resumed.
DESCRIPTION
The qm-resume command is an integral part of the Proxmox VE (Virtual Environment) suite, specifically designed for managing KVM/QEMU virtual machines.
It is used to restore a virtual machine from a suspended state back to its running operation. This differs from qm-start, which powers on a VM that was fully shut down or stopped. A suspended VM preserves its entire RAM content, CPU state, and device states, allowing for a quick return to its previous operational point.
Typically, a VM can be suspended either to RAM (a quicker but volatile state) or to disk (hibernation, slower but persistent across host reboots). qm-resume intelligently detects the saved state and reloads it, making it crucial for scenarios like host maintenance, migration, or simply pausing a VM's execution without fully shutting it down. Proper usage ensures the VM's workload continues seamlessly from where it left off.
CAVEATS
The VM must have been previously suspended using qm suspend for qm-resume to work. If the VM was stopped or powered off, use qm-start instead.
Resuming a VM can consume significant host memory if the VM was suspended to RAM, or disk I/O if hibernated.
Hardware changes on the host system (e.g., CPU, memory configuration) between suspension and resume might cause issues or instability within the guest OS.
Requires appropriate permissions (root or sudo) to execute Proxmox VE management commands.
PROXMOX VE CONTEXT
The qm-resume command is not a standalone Linux utility found in standard distributions. It is part of the pve-qemu-kvm package within the Proxmox VE environment. It acts as a high-level wrapper that orchestrates the underlying QEMU/KVM commands and manages Proxmox's internal configuration databases.
PERMISSIONS
To execute qm-resume, the user must have administrative privileges on the Proxmox VE host, typically by running the command as root or using sudo.
HISTORY
qm-resume is a core component of the Proxmox VE project, a specialized Linux distribution for virtualization. As Proxmox VE matured since its inception around 2007, the qm utility and its subcommands, including qm-resume, have been continuously developed and refined to provide robust and intuitive management of KVM/QEMU virtual machines. Its existence is tied directly to the evolution and widespread adoption of Proxmox VE as an open-source virtualization platform.