1 include::attributes.txt[]
9 qm - Qemu/KVM Virtual Machine Manager
15 include::qm.1-synopsis.adoc[]
22 Qemu/KVM Virtual Machines
23 =========================
27 qm is a script to manage virtual machines with Qemu/Kvm. You can
28 create and destroy virtual machines, and control execution
29 (start/stop/suspend/resume). Besides that, you can use qm to set
30 parameters in the associated config file. It is also possible to
31 create and delete virtual disks.
36 All configuration files consists of lines in the form
40 See 'man vm.conf' for a complete list of options.
42 Configuration files are stored inside the Proxmox configuration file
43 system, and can be access at '/etc/pve/qemu-server/<VMID>.conf'.
45 The default for option `keyboard` is read from
46 '/etc/pve/datacenter.conf'.
51 Online migration and backups ('vzdump') set a lock to prevent
52 unintentional action on such VMs. Sometimes you need remove such lock
53 manually (power failure).
60 Create a new VM with 4 GB IDE disk.
62 qm create 300 -ide0 4 -net0 e1000 -cdrom proxmox-mailgateway_2.1.iso
68 Send a shutdown request, then wait until the VM is stopped.
70 qm shutdown 300 && qm wait 300
72 Same as above, but only wait for 40 seconds.
74 qm shutdown 300 && qm wait 300 -timeout 40
78 include::pve-copyright.adoc[]