1 *qm* `<COMMAND> [ARGS] [OPTIONS]`
5 An alias for 'qm guest cmd'.
7 *qm clone* `<vmid> <newid>` `[OPTIONS]`
9 Create a copy of virtual machine/template.
11 `<vmid>`: `<integer> (1 - N)` ::
13 The (unique) ID of the VM.
15 `<newid>`: `<integer> (1 - N)` ::
19 `--description` `<string>` ::
21 Description for the new VM.
23 `--format` `<qcow2 | raw | vmdk>` ::
25 Target format for file storage. Only valid for full clone.
27 `--full` `<boolean>` ::
29 Create a full copy of all disks. This is always done when you clone a normal VM. For VM templates, we try to create a linked clone by default.
31 `--name` `<string>` ::
33 Set a name for the new VM.
35 `--pool` `<string>` ::
37 Add the new VM to the specified pool.
39 `--snapname` `<string>` ::
41 The name of the snapshot.
43 `--storage` `<string>` ::
45 Target storage for full clone.
47 `--target` `<string>` ::
49 Target node. Only allowed if the original VM is on shared storage.
51 *qm config* `<vmid>` `[OPTIONS]`
53 Get current virtual machine configuration. This does not include pending
54 configuration changes (see 'pending' API).
56 `<vmid>`: `<integer> (1 - N)` ::
58 The (unique) ID of the VM.
60 `--current` `<boolean>` ('default =' `0`)::
62 Get current values (instead of pending values).
64 *qm create* `<vmid>` `[OPTIONS]`
66 Create or restore a virtual machine.
68 `<vmid>`: `<integer> (1 - N)` ::
70 The (unique) ID of the VM.
72 `--acpi` `<boolean>` ('default =' `1`)::
76 `--agent` `[enabled=]<1|0> [,fstrim_cloned_disks=<1|0>]` ::
78 Enable/disable Qemu GuestAgent and its properties.
80 `--archive` `<string>` ::
84 `--args` `<string>` ::
86 Arbitrary arguments passed to kvm.
88 `--autostart` `<boolean>` ('default =' `0`)::
90 Automatic restart after crash (currently ignored).
92 `--balloon` `<integer> (0 - N)` ::
94 Amount of target RAM for the VM in MB. Using zero disables the ballon driver.
96 `--bios` `<ovmf | seabios>` ('default =' `seabios`)::
98 Select BIOS implementation.
100 `--boot` `[acdn]{1,4}` ('default =' `cdn`)::
102 Boot on floppy (a), hard disk (c), CD-ROM (d), or network (n).
104 `--bootdisk` `(ide|sata|scsi|virtio)\d+` ::
106 Enable booting from specified disk.
108 `--bwlimit` `<integer> (0 - N)` ::
110 Override i/o bandwidth limit (in KiB/s).
112 `--cdrom` `<volume>` ::
114 This is an alias for option -ide2
116 `--cipassword` `<password>` ::
118 cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.
120 `--citype` `<configdrive2 | nocloud>` ::
122 Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.
124 `--ciuser` `<string>` ::
126 cloud-init: User name to change ssh keys and password for instead of the image's configured default user.
128 `--cores` `<integer> (1 - N)` ('default =' `1`)::
130 The number of cores per socket.
132 `--cpu` `[cputype=]<enum> [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>]` ::
136 `--cpulimit` `<number> (0 - 128)` ('default =' `0`)::
140 `--cpuunits` `<integer> (2 - 262144)` ('default =' `1024`)::
144 `--description` `<string>` ::
146 Description for the VM. Only used on the configuration web interface. This is saved as comment inside the configuration file.
148 `--efidisk0` `[file=]<volume> [,format=<enum>] [,size=<DiskSize>]` ::
150 Configure a Disk for storing EFI vars
152 `--force` `<boolean>` ::
154 Allow to overwrite existing VM.
156 NOTE: Requires option(s): `archive`
158 `--freeze` `<boolean>` ::
160 Freeze CPU at startup (use 'c' monitor command to start execution).
162 `--hostpci[n]` `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,x-vga=<1|0>]` ::
164 Map host PCI devices into guest.
166 `--hotplug` `<string>` ('default =' `network,disk,usb`)::
168 Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory' and 'usb'. Use '0' to disable hotplug completely. Value '1' is an alias for the default 'network,disk,usb'.
170 `--hugepages` `<1024 | 2 | any>` ::
172 Enable/disable hugepages memory.
174 `--ide[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
176 Use volume as IDE hard disk or CD-ROM (n is 0 to 3).
178 `--ipconfig[n]` `[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]` ::
180 cloud-init: Specify IP addresses and gateways for the corresponding interface.
182 IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.
184 The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided.
185 For IPv6 the special string 'auto' can be used to use stateless autoconfiguration.
187 If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4.
189 `--keyboard` `<da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr>` ::
191 Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.
193 `--kvm` `<boolean>` ('default =' `1`)::
195 Enable/disable KVM hardware virtualization.
197 `--localtime` `<boolean>` ::
199 Set the real time clock to local time. This is enabled by default if ostype indicates a Microsoft OS.
201 `--lock` `<backup | migrate | rollback | snapshot>` ::
205 `--machine` `(pc|pc(-i440fx)?-\d+\.\d+(\.pxe)?|q35|pc-q35-\d+\.\d+(\.pxe)?)` ::
207 Specifies the Qemu machine type.
209 `--memory` `<integer> (16 - N)` ('default =' `512`)::
211 Amount of RAM for the VM in MB. This is the maximum available memory when you use the balloon device.
213 `--migrate_downtime` `<number> (0 - N)` ('default =' `0.1`)::
215 Set maximum tolerated downtime (in seconds) for migrations.
217 `--migrate_speed` `<integer> (0 - N)` ('default =' `0`)::
219 Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
221 `--name` `<string>` ::
223 Set a name for the VM. Only used on the configuration web interface.
225 `--nameserver` `<string>` ::
227 cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.
229 `--net[n]` `[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]` ::
231 Specify network devices.
233 `--numa` `<boolean>` ('default =' `0`)::
237 `--numa[n]` `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]` ::
241 `--onboot` `<boolean>` ('default =' `0`)::
243 Specifies whether a VM will be started during system bootup.
245 `--ostype` `<l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win7 | win8 | wvista | wxp>` ::
247 Specify guest operating system.
249 `--parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` ::
251 Map host parallel devices (n is 0 to 2).
253 `--pool` `<string>` ::
255 Add the VM to the specified pool.
257 `--protection` `<boolean>` ('default =' `0`)::
259 Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.
261 `--reboot` `<boolean>` ('default =' `1`)::
263 Allow reboot. If set to '0' the VM exit on reboot.
265 `--sata[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
267 Use volume as SATA hard disk or CD-ROM (n is 0 to 5).
269 `--scsi[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
271 Use volume as SCSI hard disk or CD-ROM (n is 0 to 13).
273 `--scsihw` `<lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single>` ('default =' `lsi`)::
275 SCSI controller model
277 `--searchdomain` `<string>` ::
279 cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.
281 `--serial[n]` `(/dev/.+|socket)` ::
283 Create a serial device inside the VM (n is 0 to 3)
285 `--shares` `<integer> (0 - 50000)` ('default =' `1000`)::
287 Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.
289 `--smbios1` `[family=<string>] [,manufacturer=<string>] [,product=<string>] [,serial=<string>] [,sku=<string>] [,uuid=<UUID>] [,version=<string>]` ::
291 Specify SMBIOS type 1 fields.
293 `--smp` `<integer> (1 - N)` ('default =' `1`)::
295 The number of CPUs. Please use option -sockets instead.
297 `--sockets` `<integer> (1 - N)` ('default =' `1`)::
299 The number of CPU sockets.
301 `--sshkeys` `<filepath>` ::
303 cloud-init: Setup public SSH keys (one key per line, OpenSSH format).
305 `--start` `<boolean>` ('default =' `0`)::
307 Start VM after it was created successfully.
309 `--startdate` `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
311 Set the initial date of the real time clock. Valid format for date are: 'now' or '2006-06-17T16:01:21' or '2006-06-17'.
313 `--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
315 Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
317 `--storage` `<string>` ::
321 `--tablet` `<boolean>` ('default =' `1`)::
323 Enable/disable the USB tablet device.
325 `--tdf` `<boolean>` ('default =' `0`)::
327 Enable/disable time drift fix.
329 `--template` `<boolean>` ('default =' `0`)::
331 Enable/disable Template.
333 `--unique` `<boolean>` ::
335 Assign a unique random ethernet address.
337 NOTE: Requires option(s): `archive`
339 `--unused[n]` `<string>` ::
341 Reference to unused volumes. This is used internally, and should not be modified manually.
343 `--usb[n]` `[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]` ::
345 Configure an USB device (n is 0 to 4).
347 `--vcpus` `<integer> (1 - N)` ('default =' `0`)::
349 Number of hotplugged vcpus.
351 `--vga` `<cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | virtio | vmware>` ::
355 `--virtio[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
357 Use volume as VIRTIO hard disk (n is 0 to 15).
359 `--vmgenid` `<UUID>` ('default =' `1 (autogenerated)`)::
361 Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.
363 `--vmstatestorage` `<string>` ::
365 Default storage for VM state volumes/files.
367 `--watchdog` `[[model=]<i6300esb|ib700>] [,action=<enum>]` ::
369 Create a virtual hardware watchdog device.
371 *qm delsnapshot* `<vmid> <snapname>` `[OPTIONS]`
373 Delete a VM snapshot.
375 `<vmid>`: `<integer> (1 - N)` ::
377 The (unique) ID of the VM.
379 `<snapname>`: `<string>` ::
381 The name of the snapshot.
383 `--force` `<boolean>` ::
385 For removal from config file, even if removing disk snapshots fails.
387 *qm destroy* `<vmid>` `[OPTIONS]`
389 Destroy the vm (also delete all used/owned volumes).
391 `<vmid>`: `<integer> (1 - N)` ::
393 The (unique) ID of the VM.
395 `--skiplock` `<boolean>` ::
397 Ignore locks - only root is allowed to use this option.
399 *qm guest cmd* `<vmid> <command>`
401 Execute Qemu Guest Agent commands.
403 `<vmid>`: `<integer> (1 - N)` ::
405 The (unique) ID of the VM.
407 `<command>`: `<fsfreeze-freeze | fsfreeze-status | fsfreeze-thaw | fstrim | get-fsinfo | get-host-name | get-memory-block-info | get-memory-blocks | get-osinfo | get-time | get-timezone | get-users | get-vcpus | info | network-get-interfaces | ping | shutdown | suspend-disk | suspend-hybrid | suspend-ram>` ::
411 *qm guest exec* `<vmid> [<extra-args>]` `[OPTIONS]`
413 Executes the given command via the guest agent
415 `<vmid>`: `<integer> (1 - N)` ::
417 The (unique) ID of the VM.
419 `<extra-args>`: `<array>` ::
421 Extra arguments as array
423 `--synchronous` `<boolean>` ('default =' `1`)::
425 If set to off, returns the pid immediately instead of waiting for the commmand to finish or the timeout.
427 `--timeout` `<integer> (0 - N)` ('default =' `30`)::
429 The maximum time to wait synchronously for the command to finish. If reached, the pid gets returned. Set to 0 to deactivate
431 *qm guest exec-status* `<vmid> <pid>`
433 Gets the status of the given pid started by the guest-agent
435 `<vmid>`: `<integer> (1 - N)` ::
437 The (unique) ID of the VM.
439 `<pid>`: `<integer>` ::
443 *qm guest passwd* `<vmid> <username>` `[OPTIONS]`
445 Sets the password for the given user to the given password
447 `<vmid>`: `<integer> (1 - N)` ::
449 The (unique) ID of the VM.
451 `<username>`: `<string>` ::
453 The user to set the password for.
455 `--crypted` `<boolean>` ('default =' `0`)::
457 set to 1 if the password has already been passed through crypt()
459 *qm help* `[OPTIONS]`
461 Get help about specified command.
463 `--extra-args` `<array>` ::
465 Shows help for a specific command
467 `--verbose` `<boolean>` ::
469 Verbose output format.
471 *qm importdisk* `<vmid> <source> <storage>` `[OPTIONS]`
473 Import an external disk image as an unused disk in a VM. The
474 image format has to be supported by qemu-img(1).
476 `<vmid>`: `<integer> (1 - N)` ::
478 The (unique) ID of the VM.
480 `<source>`: `<string>` ::
482 Path to the disk image to import
484 `<storage>`: `<string>` ::
488 `--format` `<qcow2 | raw | vmdk>` ::
492 *qm importovf* `<vmid> <manifest> <storage>` `[OPTIONS]`
494 Create a new VM using parameters read from an OVF manifest
496 `<vmid>`: `<integer> (1 - N)` ::
498 The (unique) ID of the VM.
500 `<manifest>`: `<string>` ::
504 `<storage>`: `<string>` ::
508 `--dryrun` `<boolean>` ::
510 Print a parsed representation of the extracted OVF parameters, but do not create a VM
512 `--format` `<qcow2 | raw | vmdk>` ::
516 *qm list* `[OPTIONS]`
518 Virtual machine index (per node).
520 `--full` `<boolean>` ::
522 Determine the full status of active VMs.
524 *qm listsnapshot* `<vmid>`
528 `<vmid>`: `<integer> (1 - N)` ::
530 The (unique) ID of the VM.
532 *qm migrate* `<vmid> <target>` `[OPTIONS]`
534 Migrate virtual machine. Creates a new migration task.
536 `<vmid>`: `<integer> (1 - N)` ::
538 The (unique) ID of the VM.
540 `<target>`: `<string>` ::
544 `--force` `<boolean>` ::
546 Allow to migrate VMs which use local devices. Only root may use this option.
548 `--migration_network` `<string>` ::
550 CIDR of the (sub) network that is used for migration.
552 `--migration_type` `<insecure | secure>` ::
554 Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.
556 `--online` `<boolean>` ::
558 Use online/live migration.
560 `--targetstorage` `<string>` ::
562 Default target storage.
564 `--with-local-disks` `<boolean>` ::
566 Enable live storage migration for local disk
568 *qm monitor* `<vmid>`
570 Enter Qemu Monitor interface.
572 `<vmid>`: `<integer> (1 - N)` ::
574 The (unique) ID of the VM.
576 *qm move_disk* `<vmid> <disk> <storage>` `[OPTIONS]`
578 Move volume to different storage.
580 `<vmid>`: `<integer> (1 - N)` ::
582 The (unique) ID of the VM.
584 `<disk>`: `<efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi2 | scsi3 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>` ::
586 The disk you want to move.
588 `<storage>`: `<string>` ::
592 `--delete` `<boolean>` ('default =' `0`)::
594 Delete the original disk after successful copy. By default the original disk is kept as unused disk.
596 `--digest` `<string>` ::
598 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
600 `--format` `<qcow2 | raw | vmdk>` ::
606 Used by qmigrate - do not use manually.
608 *qm nbdstop* `<vmid>`
610 Stop embedded nbd server.
612 `<vmid>`: `<integer> (1 - N)` ::
614 The (unique) ID of the VM.
616 *qm pending* `<vmid>`
618 Get virtual machine configuration, including pending changes.
620 `<vmid>`: `<integer> (1 - N)` ::
622 The (unique) ID of the VM.
624 *qm rescan* `[OPTIONS]`
626 Rescan all storages and update disk sizes and unused disk images.
628 `--dryrun` `<boolean>` ('default =' `0`)::
630 Do not actually write changes out to VM config(s).
632 `--vmid` `<integer> (1 - N)` ::
634 The (unique) ID of the VM.
636 *qm reset* `<vmid>` `[OPTIONS]`
638 Reset virtual machine.
640 `<vmid>`: `<integer> (1 - N)` ::
642 The (unique) ID of the VM.
644 `--skiplock` `<boolean>` ::
646 Ignore locks - only root is allowed to use this option.
648 *qm resize* `<vmid> <disk> <size>` `[OPTIONS]`
652 `<vmid>`: `<integer> (1 - N)` ::
654 The (unique) ID of the VM.
656 `<disk>`: `<efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi2 | scsi3 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>` ::
658 The disk you want to resize.
660 `<size>`: `\+?\d+(\.\d+)?[KMGT]?` ::
662 The new size. With the `+` sign the value is added to the actual size of the volume and without it, the value is taken as an absolute one. Shrinking disk size is not supported.
664 `--digest` `<string>` ::
666 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
668 `--skiplock` `<boolean>` ::
670 Ignore locks - only root is allowed to use this option.
672 *qm resume* `<vmid>` `[OPTIONS]`
674 Resume virtual machine.
676 `<vmid>`: `<integer> (1 - N)` ::
678 The (unique) ID of the VM.
680 `--nocheck` `<boolean>` ::
682 no description available
684 `--skiplock` `<boolean>` ::
686 Ignore locks - only root is allowed to use this option.
688 *qm rollback* `<vmid> <snapname>`
690 Rollback VM state to specified snapshot.
692 `<vmid>`: `<integer> (1 - N)` ::
694 The (unique) ID of the VM.
696 `<snapname>`: `<string>` ::
698 The name of the snapshot.
700 *qm sendkey* `<vmid> <key>` `[OPTIONS]`
702 Send key event to virtual machine.
704 `<vmid>`: `<integer> (1 - N)` ::
706 The (unique) ID of the VM.
708 `<key>`: `<string>` ::
710 The key (qemu monitor encoding).
712 `--skiplock` `<boolean>` ::
714 Ignore locks - only root is allowed to use this option.
716 *qm set* `<vmid>` `[OPTIONS]`
718 Set virtual machine options (synchrounous API) - You should consider using
719 the POST method instead for any actions involving hotplug or storage
722 `<vmid>`: `<integer> (1 - N)` ::
724 The (unique) ID of the VM.
726 `--acpi` `<boolean>` ('default =' `1`)::
730 `--agent` `[enabled=]<1|0> [,fstrim_cloned_disks=<1|0>]` ::
732 Enable/disable Qemu GuestAgent and its properties.
734 `--args` `<string>` ::
736 Arbitrary arguments passed to kvm.
738 `--autostart` `<boolean>` ('default =' `0`)::
740 Automatic restart after crash (currently ignored).
742 `--balloon` `<integer> (0 - N)` ::
744 Amount of target RAM for the VM in MB. Using zero disables the ballon driver.
746 `--bios` `<ovmf | seabios>` ('default =' `seabios`)::
748 Select BIOS implementation.
750 `--boot` `[acdn]{1,4}` ('default =' `cdn`)::
752 Boot on floppy (a), hard disk (c), CD-ROM (d), or network (n).
754 `--bootdisk` `(ide|sata|scsi|virtio)\d+` ::
756 Enable booting from specified disk.
758 `--cdrom` `<volume>` ::
760 This is an alias for option -ide2
762 `--cipassword` `<password>` ::
764 cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.
766 `--citype` `<configdrive2 | nocloud>` ::
768 Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.
770 `--ciuser` `<string>` ::
772 cloud-init: User name to change ssh keys and password for instead of the image's configured default user.
774 `--cores` `<integer> (1 - N)` ('default =' `1`)::
776 The number of cores per socket.
778 `--cpu` `[cputype=]<enum> [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>]` ::
782 `--cpulimit` `<number> (0 - 128)` ('default =' `0`)::
786 `--cpuunits` `<integer> (2 - 262144)` ('default =' `1024`)::
790 `--delete` `<string>` ::
792 A list of settings you want to delete.
794 `--description` `<string>` ::
796 Description for the VM. Only used on the configuration web interface. This is saved as comment inside the configuration file.
798 `--digest` `<string>` ::
800 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
802 `--efidisk0` `[file=]<volume> [,format=<enum>] [,size=<DiskSize>]` ::
804 Configure a Disk for storing EFI vars
806 `--force` `<boolean>` ::
808 Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.
810 NOTE: Requires option(s): `delete`
812 `--freeze` `<boolean>` ::
814 Freeze CPU at startup (use 'c' monitor command to start execution).
816 `--hostpci[n]` `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,x-vga=<1|0>]` ::
818 Map host PCI devices into guest.
820 `--hotplug` `<string>` ('default =' `network,disk,usb`)::
822 Selectively enable hotplug features. This is a comma separated list of hotplug features: 'network', 'disk', 'cpu', 'memory' and 'usb'. Use '0' to disable hotplug completely. Value '1' is an alias for the default 'network,disk,usb'.
824 `--hugepages` `<1024 | 2 | any>` ::
826 Enable/disable hugepages memory.
828 `--ide[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
830 Use volume as IDE hard disk or CD-ROM (n is 0 to 3).
832 `--ipconfig[n]` `[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]` ::
834 cloud-init: Specify IP addresses and gateways for the corresponding interface.
836 IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.
838 The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided.
839 For IPv6 the special string 'auto' can be used to use stateless autoconfiguration.
841 If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4.
843 `--keyboard` `<da | de | de-ch | en-gb | en-us | es | fi | fr | fr-be | fr-ca | fr-ch | hu | is | it | ja | lt | mk | nl | no | pl | pt | pt-br | sl | sv | tr>` ::
845 Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.
847 `--kvm` `<boolean>` ('default =' `1`)::
849 Enable/disable KVM hardware virtualization.
851 `--localtime` `<boolean>` ::
853 Set the real time clock to local time. This is enabled by default if ostype indicates a Microsoft OS.
855 `--lock` `<backup | migrate | rollback | snapshot>` ::
859 `--machine` `(pc|pc(-i440fx)?-\d+\.\d+(\.pxe)?|q35|pc-q35-\d+\.\d+(\.pxe)?)` ::
861 Specifies the Qemu machine type.
863 `--memory` `<integer> (16 - N)` ('default =' `512`)::
865 Amount of RAM for the VM in MB. This is the maximum available memory when you use the balloon device.
867 `--migrate_downtime` `<number> (0 - N)` ('default =' `0.1`)::
869 Set maximum tolerated downtime (in seconds) for migrations.
871 `--migrate_speed` `<integer> (0 - N)` ('default =' `0`)::
873 Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
875 `--name` `<string>` ::
877 Set a name for the VM. Only used on the configuration web interface.
879 `--nameserver` `<string>` ::
881 cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.
883 `--net[n]` `[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]` ::
885 Specify network devices.
887 `--numa` `<boolean>` ('default =' `0`)::
891 `--numa[n]` `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]` ::
895 `--onboot` `<boolean>` ('default =' `0`)::
897 Specifies whether a VM will be started during system bootup.
899 `--ostype` `<l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win7 | win8 | wvista | wxp>` ::
901 Specify guest operating system.
903 `--parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` ::
905 Map host parallel devices (n is 0 to 2).
907 `--protection` `<boolean>` ('default =' `0`)::
909 Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.
911 `--reboot` `<boolean>` ('default =' `1`)::
913 Allow reboot. If set to '0' the VM exit on reboot.
915 `--revert` `<string>` ::
917 Revert a pending change.
919 `--sata[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
921 Use volume as SATA hard disk or CD-ROM (n is 0 to 5).
923 `--scsi[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,queues=<integer>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
925 Use volume as SCSI hard disk or CD-ROM (n is 0 to 13).
927 `--scsihw` `<lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single>` ('default =' `lsi`)::
929 SCSI controller model
931 `--searchdomain` `<string>` ::
933 cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.
935 `--serial[n]` `(/dev/.+|socket)` ::
937 Create a serial device inside the VM (n is 0 to 3)
939 `--shares` `<integer> (0 - 50000)` ('default =' `1000`)::
941 Amount of memory shares for auto-ballooning. The larger the number is, the more memory this VM gets. Number is relative to weights of all other running VMs. Using zero disables auto-ballooning. Auto-ballooning is done by pvestatd.
943 `--skiplock` `<boolean>` ::
945 Ignore locks - only root is allowed to use this option.
947 `--smbios1` `[family=<string>] [,manufacturer=<string>] [,product=<string>] [,serial=<string>] [,sku=<string>] [,uuid=<UUID>] [,version=<string>]` ::
949 Specify SMBIOS type 1 fields.
951 `--smp` `<integer> (1 - N)` ('default =' `1`)::
953 The number of CPUs. Please use option -sockets instead.
955 `--sockets` `<integer> (1 - N)` ('default =' `1`)::
957 The number of CPU sockets.
959 `--sshkeys` `<filepath>` ::
961 cloud-init: Setup public SSH keys (one key per line, OpenSSH format).
963 `--startdate` `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
965 Set the initial date of the real time clock. Valid format for date are: 'now' or '2006-06-17T16:01:21' or '2006-06-17'.
967 `--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
969 Startup and shutdown behavior. Order is a non-negative number defining the general startup order. Shutdown in done with reverse ordering. Additionally you can set the 'up' or 'down' delay in seconds, which specifies a delay to wait before the next VM is started or stopped.
971 `--tablet` `<boolean>` ('default =' `1`)::
973 Enable/disable the USB tablet device.
975 `--tdf` `<boolean>` ('default =' `0`)::
977 Enable/disable time drift fix.
979 `--template` `<boolean>` ('default =' `0`)::
981 Enable/disable Template.
983 `--unused[n]` `<string>` ::
985 Reference to unused volumes. This is used internally, and should not be modified manually.
987 `--usb[n]` `[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]` ::
989 Configure an USB device (n is 0 to 4).
991 `--vcpus` `<integer> (1 - N)` ('default =' `0`)::
993 Number of hotplugged vcpus.
995 `--vga` `<cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | virtio | vmware>` ::
999 `--virtio[n]` `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_max_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_max_length=<seconds>] [,cache=<enum>] [,cyls=<integer>] [,detect_zeroes=<1|0>] [,discard=<ignore|on>] [,format=<enum>] [,heads=<integer>] [,iops=<iops>] [,iops_max=<iops>] [,iops_max_length=<seconds>] [,iops_rd=<iops>] [,iops_rd_max=<iops>] [,iops_rd_max_length=<seconds>] [,iops_wr=<iops>] [,iops_wr_max=<iops>] [,iops_wr_max_length=<seconds>] [,iothread=<1|0>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,replicate=<1|0>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
1001 Use volume as VIRTIO hard disk (n is 0 to 15).
1003 `--vmgenid` `<UUID>` ('default =' `1 (autogenerated)`)::
1005 Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.
1007 `--vmstatestorage` `<string>` ::
1009 Default storage for VM state volumes/files.
1011 `--watchdog` `[[model=]<i6300esb|ib700>] [,action=<enum>]` ::
1013 Create a virtual hardware watchdog device.
1015 *qm showcmd* `<vmid>` `[OPTIONS]`
1017 Show command line which is used to start the VM (debug info).
1019 `<vmid>`: `<integer> (1 - N)` ::
1021 The (unique) ID of the VM.
1023 `--pretty` `<boolean>` ('default =' `0`)::
1025 Puts each option on a new line to enhance human readability
1027 *qm shutdown* `<vmid>` `[OPTIONS]`
1029 Shutdown virtual machine. This is similar to pressing the power button on a
1030 physical machine.This will send an ACPI event for the guest OS, which
1031 should then proceed to a clean shutdown.
1033 `<vmid>`: `<integer> (1 - N)` ::
1035 The (unique) ID of the VM.
1037 `--forceStop` `<boolean>` ('default =' `0`)::
1039 Make sure the VM stops.
1041 `--keepActive` `<boolean>` ('default =' `0`)::
1043 Do not deactivate storage volumes.
1045 `--skiplock` `<boolean>` ::
1047 Ignore locks - only root is allowed to use this option.
1049 `--timeout` `<integer> (0 - N)` ::
1051 Wait maximal timeout seconds.
1053 *qm snapshot* `<vmid> <snapname>` `[OPTIONS]`
1057 `<vmid>`: `<integer> (1 - N)` ::
1059 The (unique) ID of the VM.
1061 `<snapname>`: `<string>` ::
1063 The name of the snapshot.
1065 `--description` `<string>` ::
1067 A textual description or comment.
1069 `--vmstate` `<boolean>` ::
1073 *qm start* `<vmid>` `[OPTIONS]`
1075 Start virtual machine.
1077 `<vmid>`: `<integer> (1 - N)` ::
1079 The (unique) ID of the VM.
1081 `--machine` `(pc|pc(-i440fx)?-\d+\.\d+(\.pxe)?|q35|pc-q35-\d+\.\d+(\.pxe)?)` ::
1083 Specifies the Qemu machine type.
1085 `--migratedfrom` `<string>` ::
1087 The cluster node name.
1089 `--migration_network` `<string>` ::
1091 CIDR of the (sub) network that is used for migration.
1093 `--migration_type` `<insecure | secure>` ::
1095 Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.
1097 `--skiplock` `<boolean>` ::
1099 Ignore locks - only root is allowed to use this option.
1101 `--stateuri` `<string>` ::
1103 Some command save/restore state from this location.
1105 `--targetstorage` `<string>` ::
1107 Target storage for the migration. (Can be '1' to use the same storage id as on the source node.)
1109 *qm status* `<vmid>` `[OPTIONS]`
1113 `<vmid>`: `<integer> (1 - N)` ::
1115 The (unique) ID of the VM.
1117 `--verbose` `<boolean>` ::
1119 Verbose output format
1121 *qm stop* `<vmid>` `[OPTIONS]`
1123 Stop virtual machine. The qemu process will exit immediately. Thisis akin
1124 to pulling the power plug of a running computer and may damage the VM data
1126 `<vmid>`: `<integer> (1 - N)` ::
1128 The (unique) ID of the VM.
1130 `--keepActive` `<boolean>` ('default =' `0`)::
1132 Do not deactivate storage volumes.
1134 `--migratedfrom` `<string>` ::
1136 The cluster node name.
1138 `--skiplock` `<boolean>` ::
1140 Ignore locks - only root is allowed to use this option.
1142 `--timeout` `<integer> (0 - N)` ::
1144 Wait maximal timeout seconds.
1146 *qm suspend* `<vmid>` `[OPTIONS]`
1148 Suspend virtual machine.
1150 `<vmid>`: `<integer> (1 - N)` ::
1152 The (unique) ID of the VM.
1154 `--skiplock` `<boolean>` ::
1156 Ignore locks - only root is allowed to use this option.
1158 *qm template* `<vmid>` `[OPTIONS]`
1162 `<vmid>`: `<integer> (1 - N)` ::
1164 The (unique) ID of the VM.
1166 `--disk` `<efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi2 | scsi3 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>` ::
1168 If you want to convert only 1 disk to base image.
1170 *qm terminal* `<vmid>` `[OPTIONS]`
1172 Open a terminal using a serial device (The VM need to have a serial device
1173 configured, for example 'serial0: socket')
1175 `<vmid>`: `<integer> (1 - N)` ::
1177 The (unique) ID of the VM.
1179 `--escape` `<string>` ('default =' `^O`)::
1183 `--iface` `<serial0 | serial1 | serial2 | serial3>` ::
1185 Select the serial device. By default we simply use the first suitable device.
1187 *qm unlink* `<vmid> --idlist <string>` `[OPTIONS]`
1189 Unlink/delete disk images.
1191 `<vmid>`: `<integer> (1 - N)` ::
1193 The (unique) ID of the VM.
1195 `--force` `<boolean>` ::
1197 Force physical removal. Without this, we simple remove the disk from the config file and create an additional configuration entry called 'unused[n]', which contains the volume ID. Unlink of unused[n] always cause physical removal.
1199 `--idlist` `<string>` ::
1201 A list of disk IDs you want to delete.
1203 *qm unlock* `<vmid>`
1207 `<vmid>`: `<integer> (1 - N)` ::
1209 The (unique) ID of the VM.
1211 *qm vncproxy* `<vmid>`
1213 Proxy VM VNC traffic to stdin/stdout
1215 `<vmid>`: `<integer> (1 - N)` ::
1217 The (unique) ID of the VM.
1219 *qm wait* `<vmid>` `[OPTIONS]`
1221 Wait until the VM is stopped.
1223 `<vmid>`: `<integer> (1 - N)` ::
1225 The (unique) ID of the VM.
1227 `--timeout` `<integer> (1 - N)` ::
1229 Timeout in seconds. Default is to wait forever.