]> git.proxmox.com Git - pve-docs.git/blob - qm.1-synopsis.adoc
network: adapt apply config section to PVE 7
[pve-docs.git] / qm.1-synopsis.adoc
1 *qm* `<COMMAND> [ARGS] [OPTIONS]`
2
3 *qm agent*
4
5 An alias for 'qm guest cmd'.
6
7 *qm cleanup* `<vmid> <clean-shutdown> <guest-requested>`
8
9 Cleans up resources like tap devices, vgpus, etc. Called after a vm shuts
10 down, crashes, etc.
11
12 `<vmid>`: `<integer> (1 - N)` ::
13
14 The (unique) ID of the VM.
15
16 `<clean-shutdown>`: `<boolean>` ::
17
18 Indicates if qemu shutdown cleanly.
19
20 `<guest-requested>`: `<boolean>` ::
21
22 Indicates if the shutdown was requested by the guest or via qmp.
23
24 *qm clone* `<vmid> <newid>` `[OPTIONS]`
25
26 Create a copy of virtual machine/template.
27
28 `<vmid>`: `<integer> (1 - N)` ::
29
30 The (unique) ID of the VM.
31
32 `<newid>`: `<integer> (1 - N)` ::
33
34 VMID for the clone.
35
36 `--bwlimit` `<integer> (0 - N)` ('default =' `clone limit from datacenter or storage config`)::
37
38 Override I/O bandwidth limit (in KiB/s).
39
40 `--description` `<string>` ::
41
42 Description for the new VM.
43
44 `--format` `<qcow2 | raw | vmdk>` ::
45
46 Target format for file storage. Only valid for full clone.
47
48 `--full` `<boolean>` ::
49
50 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.
51
52 `--name` `<string>` ::
53
54 Set a name for the new VM.
55
56 `--pool` `<string>` ::
57
58 Add the new VM to the specified pool.
59
60 `--snapname` `<string>` ::
61
62 The name of the snapshot.
63
64 `--storage` `<string>` ::
65
66 Target storage for full clone.
67
68 `--target` `<string>` ::
69
70 Target node. Only allowed if the original VM is on shared storage.
71
72 *qm cloudinit dump* `<vmid> <type>`
73
74 Get automatically generated cloudinit config.
75
76 `<vmid>`: `<integer> (1 - N)` ::
77
78 The (unique) ID of the VM.
79
80 `<type>`: `<meta | network | user>` ::
81
82 Config type.
83
84 *qm config* `<vmid>` `[OPTIONS]`
85
86 Get the virtual machine configuration with pending configuration changes
87 applied. Set the 'current' parameter to get the current configuration
88 instead.
89
90 `<vmid>`: `<integer> (1 - N)` ::
91
92 The (unique) ID of the VM.
93
94 `--current` `<boolean>` ('default =' `0`)::
95
96 Get current values (instead of pending values).
97
98 `--snapshot` `<string>` ::
99
100 Fetch config values from given snapshot.
101
102 *qm create* `<vmid>` `[OPTIONS]`
103
104 Create or restore a virtual machine.
105
106 `<vmid>`: `<integer> (1 - N)` ::
107
108 The (unique) ID of the VM.
109
110 `--acpi` `<boolean>` ('default =' `1`)::
111
112 Enable/disable ACPI.
113
114 `--agent` `[enabled=]<1|0> [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]` ::
115
116 Enable/disable communication with the Qemu Guest Agent and its properties.
117
118 `--arch` `<aarch64 | x86_64>` ::
119
120 Virtual processor architecture. Defaults to the host.
121
122 `--archive` `<string>` ::
123
124 The backup archive. Either the file system path to a .tar or .vma file (use '-' to pipe data from stdin) or a proxmox storage backup volume identifier.
125
126 `--args` `<string>` ::
127
128 Arbitrary arguments passed to kvm.
129
130 `--audio0` `device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]` ::
131
132 Configure a audio device, useful in combination with QXL/Spice.
133
134 `--autostart` `<boolean>` ('default =' `0`)::
135
136 Automatic restart after crash (currently ignored).
137
138 `--balloon` `<integer> (0 - N)` ::
139
140 Amount of target RAM for the VM in MB. Using zero disables the ballon driver.
141
142 `--bios` `<ovmf | seabios>` ('default =' `seabios`)::
143
144 Select BIOS implementation.
145
146 `--boot` `[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]` ::
147
148 Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.
149
150 `--bootdisk` `(ide|sata|scsi|virtio)\d+` ::
151
152 Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.
153
154 `--bwlimit` `<integer> (0 - N)` ('default =' `restore limit from datacenter or storage config`)::
155
156 Override I/O bandwidth limit (in KiB/s).
157
158 `--cdrom` `<volume>` ::
159
160 This is an alias for option -ide2
161
162 `--cicustom` `[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]` ::
163
164 cloud-init: Specify custom files to replace the automatically generated ones at start.
165
166 `--cipassword` `<password>` ::
167
168 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.
169
170 `--citype` `<configdrive2 | nocloud | opennebula>` ::
171
172 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.
173
174 `--ciuser` `<string>` ::
175
176 cloud-init: User name to change ssh keys and password for instead of the image's configured default user.
177
178 `--cores` `<integer> (1 - N)` ('default =' `1`)::
179
180 The number of cores per socket.
181
182 `--cpu` `[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]` ::
183
184 Emulated CPU type.
185
186 `--cpulimit` `<number> (0 - 128)` ('default =' `0`)::
187
188 Limit of CPU usage.
189
190 `--cpuunits` `<integer> (1 - 262144)` ('default =' `cgroup v1: 1024, cgroup v2: 100`)::
191
192 CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.
193
194 `--description` `<string>` ::
195
196 Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.
197
198 `--efidisk0` `[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]` ::
199
200 Configure a Disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
201
202 `--force` `<boolean>` ::
203
204 Allow to overwrite existing VM.
205 +
206 NOTE: Requires option(s): `archive`
207
208 `--freeze` `<boolean>` ::
209
210 Freeze CPU at startup (use 'c' monitor command to start execution).
211
212 `--hookscript` `<string>` ::
213
214 Script that will be executed during various steps in the vms lifetime.
215
216 `--hostpci[n]` `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]` ::
217
218 Map host PCI devices into guest.
219
220 `--hotplug` `<string>` ('default =' `network,disk,usb`)::
221
222 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. Using '1' as value is an alias for the default `network,disk,usb`.
223
224 `--hugepages` `<1024 | 2 | any>` ::
225
226 Enable/disable hugepages memory.
227
228 `--ide[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,wwn=<wwn>]` ::
229
230 Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
231
232 `--ipconfig[n]` `[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]` ::
233
234 cloud-init: Specify IP addresses and gateways for the corresponding interface.
235 +
236 IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.
237 +
238 The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit
239 gateway should be provided.
240 For IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires
241 cloud-init 19.4 or newer.
242 +
243 If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using
244 dhcp on IPv4.
245
246 `--ivshmem` `size=<integer> [,name=<string>]` ::
247
248 Inter-VM shared memory. Useful for direct communication between VMs, or to the host.
249
250 `--keephugepages` `<boolean>` ('default =' `0`)::
251
252 Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.
253
254 `--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>` ::
255
256 Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.
257
258 `--kvm` `<boolean>` ('default =' `1`)::
259
260 Enable/disable KVM hardware virtualization.
261
262 `--live-restore` `<boolean>` ::
263
264 Start the VM immediately from the backup and restore in background. PBS only.
265 +
266 NOTE: Requires option(s): `archive`
267
268 `--localtime` `<boolean>` ::
269
270 Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.
271
272 `--lock` `<backup | clone | create | migrate | rollback | snapshot | snapshot-delete | suspended | suspending>` ::
273
274 Lock/unlock the VM.
275
276 `--machine` `(pc|pc(-i440fx)?-\d+(\.\d+)+(\+pve\d+)?(\.pxe)?|q35|pc-q35-\d+(\.\d+)+(\+pve\d+)?(\.pxe)?|virt(?:-\d+(\.\d+)+)?(\+pve\d+)?)` ::
277
278 Specifies the Qemu machine type.
279
280 `--memory` `<integer> (16 - N)` ('default =' `512`)::
281
282 Amount of RAM for the VM in MB. This is the maximum available memory when you use the balloon device.
283
284 `--migrate_downtime` `<number> (0 - N)` ('default =' `0.1`)::
285
286 Set maximum tolerated downtime (in seconds) for migrations.
287
288 `--migrate_speed` `<integer> (0 - N)` ('default =' `0`)::
289
290 Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
291
292 `--name` `<string>` ::
293
294 Set a name for the VM. Only used on the configuration web interface.
295
296 `--nameserver` `<string>` ::
297
298 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.
299
300 `--net[n]` `[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]` ::
301
302 Specify network devices.
303
304 `--numa` `<boolean>` ('default =' `0`)::
305
306 Enable/disable NUMA.
307
308 `--numa[n]` `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]` ::
309
310 NUMA topology.
311
312 `--onboot` `<boolean>` ('default =' `0`)::
313
314 Specifies whether a VM will be started during system bootup.
315
316 `--ostype` `<l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win11 | win7 | win8 | wvista | wxp>` ::
317
318 Specify guest operating system.
319
320 `--parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` ::
321
322 Map host parallel devices (n is 0 to 2).
323
324 `--pool` `<string>` ::
325
326 Add the VM to the specified pool.
327
328 `--protection` `<boolean>` ('default =' `0`)::
329
330 Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.
331
332 `--reboot` `<boolean>` ('default =' `1`)::
333
334 Allow reboot. If set to '0' the VM exit on reboot.
335
336 `--rng0` `[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]` ::
337
338 Configure a VirtIO-based Random Number Generator.
339
340 `--sata[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,wwn=<wwn>]` ::
341
342 Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
343
344 `--scsi[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]` ::
345
346 Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
347
348 `--scsihw` `<lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single>` ('default =' `lsi`)::
349
350 SCSI controller model
351
352 `--searchdomain` `<string>` ::
353
354 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.
355
356 `--serial[n]` `(/dev/.+|socket)` ::
357
358 Create a serial device inside the VM (n is 0 to 3)
359
360 `--shares` `<integer> (0 - 50000)` ('default =' `1000`)::
361
362 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.
363
364 `--smbios1` `[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]` ::
365
366 Specify SMBIOS type 1 fields.
367
368 `--smp` `<integer> (1 - N)` ('default =' `1`)::
369
370 The number of CPUs. Please use option -sockets instead.
371
372 `--sockets` `<integer> (1 - N)` ('default =' `1`)::
373
374 The number of CPU sockets.
375
376 `--spice_enhancements` `[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]` ::
377
378 Configure additional enhancements for SPICE.
379
380 `--sshkeys` `<filepath>` ::
381
382 cloud-init: Setup public SSH keys (one key per line, OpenSSH format).
383
384 `--start` `<boolean>` ('default =' `0`)::
385
386 Start VM after it was created successfully.
387
388 `--startdate` `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
389
390 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'.
391
392 `--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
393
394 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.
395
396 `--storage` `<string>` ::
397
398 Default storage.
399
400 `--tablet` `<boolean>` ('default =' `1`)::
401
402 Enable/disable the USB tablet device.
403
404 `--tags` `<string>` ::
405
406 Tags of the VM. This is only meta information.
407
408 `--tdf` `<boolean>` ('default =' `0`)::
409
410 Enable/disable time drift fix.
411
412 `--template` `<boolean>` ('default =' `0`)::
413
414 Enable/disable Template.
415
416 `--tpmstate0` `[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]` ::
417
418 Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
419
420 `--unique` `<boolean>` ::
421
422 Assign a unique random ethernet address.
423 +
424 NOTE: Requires option(s): `archive`
425
426 `--unused[n]` `[file=]<volume>` ::
427
428 Reference to unused volumes. This is used internally, and should not be modified manually.
429
430 `--usb[n]` `[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]` ::
431
432 Configure an USB device (n is 0 to 4).
433
434 `--vcpus` `<integer> (1 - N)` ('default =' `0`)::
435
436 Number of hotplugged vcpus.
437
438 `--vga` `[[type=]<enum>] [,memory=<integer>]` ::
439
440 Configure the VGA hardware.
441
442 `--virtio[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
443
444 Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
445
446 `--vmgenid` `<UUID>` ('default =' `1 (autogenerated)`)::
447
448 Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.
449
450 `--vmstatestorage` `<string>` ::
451
452 Default storage for VM state volumes/files.
453
454 `--watchdog` `[[model=]<i6300esb|ib700>] [,action=<enum>]` ::
455
456 Create a virtual hardware watchdog device.
457
458 *qm delsnapshot* `<vmid> <snapname>` `[OPTIONS]`
459
460 Delete a VM snapshot.
461
462 `<vmid>`: `<integer> (1 - N)` ::
463
464 The (unique) ID of the VM.
465
466 `<snapname>`: `<string>` ::
467
468 The name of the snapshot.
469
470 `--force` `<boolean>` ::
471
472 For removal from config file, even if removing disk snapshots fails.
473
474 *qm destroy* `<vmid>` `[OPTIONS]`
475
476 Destroy the VM and all used/owned volumes. Removes any VM specific
477 permissions and firewall rules
478
479 `<vmid>`: `<integer> (1 - N)` ::
480
481 The (unique) ID of the VM.
482
483 `--destroy-unreferenced-disks` `<boolean>` ('default =' `0`)::
484
485 If set, destroy additionally all disks not referenced in the config but with a matching VMID from all enabled storages.
486
487 `--purge` `<boolean>` ::
488
489 Remove VMID from configurations, like backup & replication jobs and HA.
490
491 `--skiplock` `<boolean>` ::
492
493 Ignore locks - only root is allowed to use this option.
494
495 *qm guest cmd* `<vmid> <command>`
496
497 Execute Qemu Guest Agent commands.
498
499 `<vmid>`: `<integer> (1 - N)` ::
500
501 The (unique) ID of the VM.
502
503 `<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>` ::
504
505 The QGA command.
506
507 *qm guest exec* `<vmid> [<extra-args>]` `[OPTIONS]`
508
509 Executes the given command via the guest agent
510
511 `<vmid>`: `<integer> (1 - N)` ::
512
513 The (unique) ID of the VM.
514
515 `<extra-args>`: `<array>` ::
516
517 Extra arguments as array
518
519 `--pass-stdin` `<boolean>` ('default =' `0`)::
520
521 When set, read STDIN until EOF and forward to guest agent via 'input-data' (usually treated as STDIN to process launched by guest agent). Allows maximal 1 MiB.
522
523 `--synchronous` `<boolean>` ('default =' `1`)::
524
525 If set to off, returns the pid immediately instead of waiting for the commmand to finish or the timeout.
526
527 `--timeout` `<integer> (0 - N)` ('default =' `30`)::
528
529 The maximum time to wait synchronously for the command to finish. If reached, the pid gets returned. Set to 0 to deactivate
530
531 *qm guest exec-status* `<vmid> <pid>`
532
533 Gets the status of the given pid started by the guest-agent
534
535 `<vmid>`: `<integer> (1 - N)` ::
536
537 The (unique) ID of the VM.
538
539 `<pid>`: `<integer>` ::
540
541 The PID to query
542
543 *qm guest passwd* `<vmid> <username>` `[OPTIONS]`
544
545 Sets the password for the given user to the given password
546
547 `<vmid>`: `<integer> (1 - N)` ::
548
549 The (unique) ID of the VM.
550
551 `<username>`: `<string>` ::
552
553 The user to set the password for.
554
555 `--crypted` `<boolean>` ('default =' `0`)::
556
557 set to 1 if the password has already been passed through crypt()
558
559 *qm help* `[OPTIONS]`
560
561 Get help about specified command.
562
563 `--extra-args` `<array>` ::
564
565 Shows help for a specific command
566
567 `--verbose` `<boolean>` ::
568
569 Verbose output format.
570
571 *qm importdisk* `<vmid> <source> <storage>` `[OPTIONS]`
572
573 Import an external disk image as an unused disk in a VM. The
574 image format has to be supported by qemu-img(1).
575
576 `<vmid>`: `<integer> (1 - N)` ::
577
578 The (unique) ID of the VM.
579
580 `<source>`: `<string>` ::
581
582 Path to the disk image to import
583
584 `<storage>`: `<string>` ::
585
586 Target storage ID
587
588 `--format` `<qcow2 | raw | vmdk>` ::
589
590 Target format
591
592 *qm importovf* `<vmid> <manifest> <storage>` `[OPTIONS]`
593
594 Create a new VM using parameters read from an OVF manifest
595
596 `<vmid>`: `<integer> (1 - N)` ::
597
598 The (unique) ID of the VM.
599
600 `<manifest>`: `<string>` ::
601
602 path to the ovf file
603
604 `<storage>`: `<string>` ::
605
606 Target storage ID
607
608 `--dryrun` `<boolean>` ::
609
610 Print a parsed representation of the extracted OVF parameters, but do not create a VM
611
612 `--format` `<qcow2 | raw | vmdk>` ::
613
614 Target format
615
616 *qm list* `[OPTIONS]`
617
618 Virtual machine index (per node).
619
620 `--full` `<boolean>` ::
621
622 Determine the full status of active VMs.
623
624 *qm listsnapshot* `<vmid>`
625
626 List all snapshots.
627
628 `<vmid>`: `<integer> (1 - N)` ::
629
630 The (unique) ID of the VM.
631
632 *qm migrate* `<vmid> <target>` `[OPTIONS]`
633
634 Migrate virtual machine. Creates a new migration task.
635
636 `<vmid>`: `<integer> (1 - N)` ::
637
638 The (unique) ID of the VM.
639
640 `<target>`: `<string>` ::
641
642 Target node.
643
644 `--bwlimit` `<integer> (0 - N)` ('default =' `migrate limit from datacenter or storage config`)::
645
646 Override I/O bandwidth limit (in KiB/s).
647
648 `--force` `<boolean>` ::
649
650 Allow to migrate VMs which use local devices. Only root may use this option.
651
652 `--migration_network` `<string>` ::
653
654 CIDR of the (sub) network that is used for migration.
655
656 `--migration_type` `<insecure | secure>` ::
657
658 Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.
659
660 `--online` `<boolean>` ::
661
662 Use online/live migration if VM is running. Ignored if VM is stopped.
663
664 `--targetstorage` `<string>` ::
665
666 Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.
667
668 `--with-local-disks` `<boolean>` ::
669
670 Enable live storage migration for local disk
671
672 *qm monitor* `<vmid>`
673
674 Enter Qemu Monitor interface.
675
676 `<vmid>`: `<integer> (1 - N)` ::
677
678 The (unique) ID of the VM.
679
680 *qm move-disk* `<vmid> <disk> [<storage>]` `[OPTIONS]`
681
682 Move volume to different storage or to a different VM.
683
684 `<vmid>`: `<integer> (1 - N)` ::
685
686 The (unique) ID of the VM.
687
688 `<disk>`: `<efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | unused0 | unused1 | unused10 | unused100 | unused101 | unused102 | unused103 | unused104 | unused105 | unused106 | unused107 | unused108 | unused109 | unused11 | unused110 | unused111 | unused112 | unused113 | unused114 | unused115 | unused116 | unused117 | unused118 | unused119 | unused12 | unused120 | unused121 | unused122 | unused123 | unused124 | unused125 | unused126 | unused127 | unused128 | unused129 | unused13 | unused130 | unused131 | unused132 | unused133 | unused134 | unused135 | unused136 | unused137 | unused138 | unused139 | unused14 | unused140 | unused141 | unused142 | unused143 | unused144 | unused145 | unused146 | unused147 | unused148 | unused149 | unused15 | unused150 | unused151 | unused152 | unused153 | unused154 | unused155 | unused156 | unused157 | unused158 | unused159 | unused16 | unused160 | unused161 | unused162 | unused163 | unused164 | unused165 | unused166 | unused167 | unused168 | unused169 | unused17 | unused170 | unused171 | unused172 | unused173 | unused174 | unused175 | unused176 | unused177 | unused178 | unused179 | unused18 | unused180 | unused181 | unused182 | unused183 | unused184 | unused185 | unused186 | unused187 | unused188 | unused189 | unused19 | unused190 | unused191 | unused192 | unused193 | unused194 | unused195 | unused196 | unused197 | unused198 | unused199 | unused2 | unused20 | unused200 | unused201 | unused202 | unused203 | unused204 | unused205 | unused206 | unused207 | unused208 | unused209 | unused21 | unused210 | unused211 | unused212 | unused213 | unused214 | unused215 | unused216 | unused217 | unused218 | unused219 | unused22 | unused220 | unused221 | unused222 | unused223 | unused224 | unused225 | unused226 | unused227 | unused228 | unused229 | unused23 | unused230 | unused231 | unused232 | unused233 | unused234 | unused235 | unused236 | unused237 | unused238 | unused239 | unused24 | unused240 | unused241 | unused242 | unused243 | unused244 | unused245 | unused246 | unused247 | unused248 | unused249 | unused25 | unused250 | unused251 | unused252 | unused253 | unused254 | unused255 | unused26 | unused27 | unused28 | unused29 | unused3 | unused30 | unused31 | unused32 | unused33 | unused34 | unused35 | unused36 | unused37 | unused38 | unused39 | unused4 | unused40 | unused41 | unused42 | unused43 | unused44 | unused45 | unused46 | unused47 | unused48 | unused49 | unused5 | unused50 | unused51 | unused52 | unused53 | unused54 | unused55 | unused56 | unused57 | unused58 | unused59 | unused6 | unused60 | unused61 | unused62 | unused63 | unused64 | unused65 | unused66 | unused67 | unused68 | unused69 | unused7 | unused70 | unused71 | unused72 | unused73 | unused74 | unused75 | unused76 | unused77 | unused78 | unused79 | unused8 | unused80 | unused81 | unused82 | unused83 | unused84 | unused85 | unused86 | unused87 | unused88 | unused89 | unused9 | unused90 | unused91 | unused92 | unused93 | unused94 | unused95 | unused96 | unused97 | unused98 | unused99 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>` ::
689
690 The disk you want to move.
691
692 `<storage>`: `<string>` ::
693
694 Target storage.
695
696 `--bwlimit` `<integer> (0 - N)` ('default =' `move limit from datacenter or storage config`)::
697
698 Override I/O bandwidth limit (in KiB/s).
699
700 `--delete` `<boolean>` ('default =' `0`)::
701
702 Delete the original disk after successful copy. By default the original disk is kept as unused disk.
703
704 `--digest` `<string>` ::
705
706 Prevent changes if current configuration file has different SHA1"
707 ." digest. This can be used to prevent concurrent modifications.
708
709 `--format` `<qcow2 | raw | vmdk>` ::
710
711 Target Format.
712
713 `--target-digest` `<string>` ::
714
715 Prevent changes if the current config file of the target VM has a"
716 ." different SHA1 digest. This can be used to detect concurrent modifications.
717
718 `--target-disk` `<efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | unused0 | unused1 | unused10 | unused100 | unused101 | unused102 | unused103 | unused104 | unused105 | unused106 | unused107 | unused108 | unused109 | unused11 | unused110 | unused111 | unused112 | unused113 | unused114 | unused115 | unused116 | unused117 | unused118 | unused119 | unused12 | unused120 | unused121 | unused122 | unused123 | unused124 | unused125 | unused126 | unused127 | unused128 | unused129 | unused13 | unused130 | unused131 | unused132 | unused133 | unused134 | unused135 | unused136 | unused137 | unused138 | unused139 | unused14 | unused140 | unused141 | unused142 | unused143 | unused144 | unused145 | unused146 | unused147 | unused148 | unused149 | unused15 | unused150 | unused151 | unused152 | unused153 | unused154 | unused155 | unused156 | unused157 | unused158 | unused159 | unused16 | unused160 | unused161 | unused162 | unused163 | unused164 | unused165 | unused166 | unused167 | unused168 | unused169 | unused17 | unused170 | unused171 | unused172 | unused173 | unused174 | unused175 | unused176 | unused177 | unused178 | unused179 | unused18 | unused180 | unused181 | unused182 | unused183 | unused184 | unused185 | unused186 | unused187 | unused188 | unused189 | unused19 | unused190 | unused191 | unused192 | unused193 | unused194 | unused195 | unused196 | unused197 | unused198 | unused199 | unused2 | unused20 | unused200 | unused201 | unused202 | unused203 | unused204 | unused205 | unused206 | unused207 | unused208 | unused209 | unused21 | unused210 | unused211 | unused212 | unused213 | unused214 | unused215 | unused216 | unused217 | unused218 | unused219 | unused22 | unused220 | unused221 | unused222 | unused223 | unused224 | unused225 | unused226 | unused227 | unused228 | unused229 | unused23 | unused230 | unused231 | unused232 | unused233 | unused234 | unused235 | unused236 | unused237 | unused238 | unused239 | unused24 | unused240 | unused241 | unused242 | unused243 | unused244 | unused245 | unused246 | unused247 | unused248 | unused249 | unused25 | unused250 | unused251 | unused252 | unused253 | unused254 | unused255 | unused26 | unused27 | unused28 | unused29 | unused3 | unused30 | unused31 | unused32 | unused33 | unused34 | unused35 | unused36 | unused37 | unused38 | unused39 | unused4 | unused40 | unused41 | unused42 | unused43 | unused44 | unused45 | unused46 | unused47 | unused48 | unused49 | unused5 | unused50 | unused51 | unused52 | unused53 | unused54 | unused55 | unused56 | unused57 | unused58 | unused59 | unused6 | unused60 | unused61 | unused62 | unused63 | unused64 | unused65 | unused66 | unused67 | unused68 | unused69 | unused7 | unused70 | unused71 | unused72 | unused73 | unused74 | unused75 | unused76 | unused77 | unused78 | unused79 | unused8 | unused80 | unused81 | unused82 | unused83 | unused84 | unused85 | unused86 | unused87 | unused88 | unused89 | unused9 | unused90 | unused91 | unused92 | unused93 | unused94 | unused95 | unused96 | unused97 | unused98 | unused99 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>` ::
719
720 The config key the disk will be moved to on the target VM (for example, ide0 or scsi1). Default is the source disk key.
721
722 `--target-vmid` `<integer> (1 - N)` ::
723
724 The (unique) ID of the VM.
725
726 *qm move_disk*
727
728 An alias for 'qm move-disk'.
729
730 *qm mtunnel*
731
732 Used by qmigrate - do not use manually.
733
734 *qm nbdstop* `<vmid>`
735
736 Stop embedded nbd server.
737
738 `<vmid>`: `<integer> (1 - N)` ::
739
740 The (unique) ID of the VM.
741
742 *qm pending* `<vmid>`
743
744 Get the virtual machine configuration with both current and pending values.
745
746 `<vmid>`: `<integer> (1 - N)` ::
747
748 The (unique) ID of the VM.
749
750 *qm reboot* `<vmid>` `[OPTIONS]`
751
752 Reboot the VM by shutting it down, and starting it again. Applies pending
753 changes.
754
755 `<vmid>`: `<integer> (1 - N)` ::
756
757 The (unique) ID of the VM.
758
759 `--timeout` `<integer> (0 - N)` ::
760
761 Wait maximal timeout seconds for the shutdown.
762
763 *qm rescan* `[OPTIONS]`
764
765 Rescan all storages and update disk sizes and unused disk images.
766
767 `--dryrun` `<boolean>` ('default =' `0`)::
768
769 Do not actually write changes out to VM config(s).
770
771 `--vmid` `<integer> (1 - N)` ::
772
773 The (unique) ID of the VM.
774
775 *qm reset* `<vmid>` `[OPTIONS]`
776
777 Reset virtual machine.
778
779 `<vmid>`: `<integer> (1 - N)` ::
780
781 The (unique) ID of the VM.
782
783 `--skiplock` `<boolean>` ::
784
785 Ignore locks - only root is allowed to use this option.
786
787 *qm resize* `<vmid> <disk> <size>` `[OPTIONS]`
788
789 Extend volume size.
790
791 `<vmid>`: `<integer> (1 - N)` ::
792
793 The (unique) ID of the VM.
794
795 `<disk>`: `<efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>` ::
796
797 The disk you want to resize.
798
799 `<size>`: `\+?\d+(\.\d+)?[KMGT]?` ::
800
801 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.
802
803 `--digest` `<string>` ::
804
805 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
806
807 `--skiplock` `<boolean>` ::
808
809 Ignore locks - only root is allowed to use this option.
810
811 *qm resume* `<vmid>` `[OPTIONS]`
812
813 Resume virtual machine.
814
815 `<vmid>`: `<integer> (1 - N)` ::
816
817 The (unique) ID of the VM.
818
819 `--nocheck` `<boolean>` ::
820
821 no description available
822
823 `--skiplock` `<boolean>` ::
824
825 Ignore locks - only root is allowed to use this option.
826
827 *qm rollback* `<vmid> <snapname>`
828
829 Rollback VM state to specified snapshot.
830
831 `<vmid>`: `<integer> (1 - N)` ::
832
833 The (unique) ID of the VM.
834
835 `<snapname>`: `<string>` ::
836
837 The name of the snapshot.
838
839 *qm sendkey* `<vmid> <key>` `[OPTIONS]`
840
841 Send key event to virtual machine.
842
843 `<vmid>`: `<integer> (1 - N)` ::
844
845 The (unique) ID of the VM.
846
847 `<key>`: `<string>` ::
848
849 The key (qemu monitor encoding).
850
851 `--skiplock` `<boolean>` ::
852
853 Ignore locks - only root is allowed to use this option.
854
855 *qm set* `<vmid>` `[OPTIONS]`
856
857 Set virtual machine options (synchrounous API) - You should consider using
858 the POST method instead for any actions involving hotplug or storage
859 allocation.
860
861 `<vmid>`: `<integer> (1 - N)` ::
862
863 The (unique) ID of the VM.
864
865 `--acpi` `<boolean>` ('default =' `1`)::
866
867 Enable/disable ACPI.
868
869 `--agent` `[enabled=]<1|0> [,fstrim_cloned_disks=<1|0>] [,type=<virtio|isa>]` ::
870
871 Enable/disable communication with the Qemu Guest Agent and its properties.
872
873 `--arch` `<aarch64 | x86_64>` ::
874
875 Virtual processor architecture. Defaults to the host.
876
877 `--args` `<string>` ::
878
879 Arbitrary arguments passed to kvm.
880
881 `--audio0` `device=<ich9-intel-hda|intel-hda|AC97> [,driver=<spice|none>]` ::
882
883 Configure a audio device, useful in combination with QXL/Spice.
884
885 `--autostart` `<boolean>` ('default =' `0`)::
886
887 Automatic restart after crash (currently ignored).
888
889 `--balloon` `<integer> (0 - N)` ::
890
891 Amount of target RAM for the VM in MB. Using zero disables the ballon driver.
892
893 `--bios` `<ovmf | seabios>` ('default =' `seabios`)::
894
895 Select BIOS implementation.
896
897 `--boot` `[[legacy=]<[acdn]{1,4}>] [,order=<device[;device...]>]` ::
898
899 Specify guest boot order. Use the 'order=' sub-property as usage with no key or 'legacy=' is deprecated.
900
901 `--bootdisk` `(ide|sata|scsi|virtio)\d+` ::
902
903 Enable booting from specified disk. Deprecated: Use 'boot: order=foo;bar' instead.
904
905 `--cdrom` `<volume>` ::
906
907 This is an alias for option -ide2
908
909 `--cicustom` `[meta=<volume>] [,network=<volume>] [,user=<volume>] [,vendor=<volume>]` ::
910
911 cloud-init: Specify custom files to replace the automatically generated ones at start.
912
913 `--cipassword` `<password>` ::
914
915 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.
916
917 `--citype` `<configdrive2 | nocloud | opennebula>` ::
918
919 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.
920
921 `--ciuser` `<string>` ::
922
923 cloud-init: User name to change ssh keys and password for instead of the image's configured default user.
924
925 `--cores` `<integer> (1 - N)` ('default =' `1`)::
926
927 The number of cores per socket.
928
929 `--cpu` `[[cputype=]<string>] [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>] [,phys-bits=<8-64|host>] [,reported-model=<enum>]` ::
930
931 Emulated CPU type.
932
933 `--cpulimit` `<number> (0 - 128)` ('default =' `0`)::
934
935 Limit of CPU usage.
936
937 `--cpuunits` `<integer> (1 - 262144)` ('default =' `cgroup v1: 1024, cgroup v2: 100`)::
938
939 CPU weight for a VM, will be clamped to [1, 10000] in cgroup v2.
940
941 `--delete` `<string>` ::
942
943 A list of settings you want to delete.
944
945 `--description` `<string>` ::
946
947 Description for the VM. Shown in the web-interface VM's summary. This is saved as comment inside the configuration file.
948
949 `--digest` `<string>` ::
950
951 Prevent changes if current configuration file has different SHA1 digest. This can be used to prevent concurrent modifications.
952
953 `--efidisk0` `[file=]<volume> [,efitype=<2m|4m>] [,format=<enum>] [,import-from=<source volume>] [,pre-enrolled-keys=<1|0>] [,size=<DiskSize>]` ::
954
955 Configure a Disk for storing EFI vars. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and that the default EFI vars are copied to the volume instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
956
957 `--force` `<boolean>` ::
958
959 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.
960 +
961 NOTE: Requires option(s): `delete`
962
963 `--freeze` `<boolean>` ::
964
965 Freeze CPU at startup (use 'c' monitor command to start execution).
966
967 `--hookscript` `<string>` ::
968
969 Script that will be executed during various steps in the vms lifetime.
970
971 `--hostpci[n]` `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,device-id=<hex id>] [,legacy-igd=<1|0>] [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,sub-device-id=<hex id>] [,sub-vendor-id=<hex id>] [,vendor-id=<hex id>] [,x-vga=<1|0>]` ::
972
973 Map host PCI devices into guest.
974
975 `--hotplug` `<string>` ('default =' `network,disk,usb`)::
976
977 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. Using '1' as value is an alias for the default `network,disk,usb`.
978
979 `--hugepages` `<1024 | 2 | any>` ::
980
981 Enable/disable hugepages memory.
982
983 `--ide[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,wwn=<wwn>]` ::
984
985 Use volume as IDE hard disk or CD-ROM (n is 0 to 3). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
986
987 `--ipconfig[n]` `[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]` ::
988
989 cloud-init: Specify IP addresses and gateways for the corresponding interface.
990 +
991 IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.
992 +
993 The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit
994 gateway should be provided.
995 For IPv6 the special string 'auto' can be used to use stateless autoconfiguration. This requires
996 cloud-init 19.4 or newer.
997 +
998 If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using
999 dhcp on IPv4.
1000
1001 `--ivshmem` `size=<integer> [,name=<string>]` ::
1002
1003 Inter-VM shared memory. Useful for direct communication between VMs, or to the host.
1004
1005 `--keephugepages` `<boolean>` ('default =' `0`)::
1006
1007 Use together with hugepages. If enabled, hugepages will not not be deleted after VM shutdown and can be used for subsequent starts.
1008
1009 `--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>` ::
1010
1011 Keyboard layout for VNC server. This option is generally not required and is often better handled from within the guest OS.
1012
1013 `--kvm` `<boolean>` ('default =' `1`)::
1014
1015 Enable/disable KVM hardware virtualization.
1016
1017 `--localtime` `<boolean>` ::
1018
1019 Set the real time clock (RTC) to local time. This is enabled by default if the `ostype` indicates a Microsoft Windows OS.
1020
1021 `--lock` `<backup | clone | create | migrate | rollback | snapshot | snapshot-delete | suspended | suspending>` ::
1022
1023 Lock/unlock the VM.
1024
1025 `--machine` `(pc|pc(-i440fx)?-\d+(\.\d+)+(\+pve\d+)?(\.pxe)?|q35|pc-q35-\d+(\.\d+)+(\+pve\d+)?(\.pxe)?|virt(?:-\d+(\.\d+)+)?(\+pve\d+)?)` ::
1026
1027 Specifies the Qemu machine type.
1028
1029 `--memory` `<integer> (16 - N)` ('default =' `512`)::
1030
1031 Amount of RAM for the VM in MB. This is the maximum available memory when you use the balloon device.
1032
1033 `--migrate_downtime` `<number> (0 - N)` ('default =' `0.1`)::
1034
1035 Set maximum tolerated downtime (in seconds) for migrations.
1036
1037 `--migrate_speed` `<integer> (0 - N)` ('default =' `0`)::
1038
1039 Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
1040
1041 `--name` `<string>` ::
1042
1043 Set a name for the VM. Only used on the configuration web interface.
1044
1045 `--nameserver` `<string>` ::
1046
1047 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.
1048
1049 `--net[n]` `[model=]<enum> [,bridge=<bridge>] [,firewall=<1|0>] [,link_down=<1|0>] [,macaddr=<XX:XX:XX:XX:XX:XX>] [,mtu=<integer>] [,queues=<integer>] [,rate=<number>] [,tag=<integer>] [,trunks=<vlanid[;vlanid...]>] [,<model>=<macaddr>]` ::
1050
1051 Specify network devices.
1052
1053 `--numa` `<boolean>` ('default =' `0`)::
1054
1055 Enable/disable NUMA.
1056
1057 `--numa[n]` `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]` ::
1058
1059 NUMA topology.
1060
1061 `--onboot` `<boolean>` ('default =' `0`)::
1062
1063 Specifies whether a VM will be started during system bootup.
1064
1065 `--ostype` `<l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win11 | win7 | win8 | wvista | wxp>` ::
1066
1067 Specify guest operating system.
1068
1069 `--parallel[n]` `/dev/parport\d+|/dev/usb/lp\d+` ::
1070
1071 Map host parallel devices (n is 0 to 2).
1072
1073 `--protection` `<boolean>` ('default =' `0`)::
1074
1075 Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.
1076
1077 `--reboot` `<boolean>` ('default =' `1`)::
1078
1079 Allow reboot. If set to '0' the VM exit on reboot.
1080
1081 `--revert` `<string>` ::
1082
1083 Revert a pending change.
1084
1085 `--rng0` `[source=]</dev/urandom|/dev/random|/dev/hwrng> [,max_bytes=<integer>] [,period=<integer>]` ::
1086
1087 Configure a VirtIO-based Random Number Generator.
1088
1089 `--sata[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,wwn=<wwn>]` ::
1090
1091 Use volume as SATA hard disk or CD-ROM (n is 0 to 5). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
1092
1093 `--scsi[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,ro=<1|0>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]` ::
1094
1095 Use volume as SCSI hard disk or CD-ROM (n is 0 to 30). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
1096
1097 `--scsihw` `<lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single>` ('default =' `lsi`)::
1098
1099 SCSI controller model
1100
1101 `--searchdomain` `<string>` ::
1102
1103 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.
1104
1105 `--serial[n]` `(/dev/.+|socket)` ::
1106
1107 Create a serial device inside the VM (n is 0 to 3)
1108
1109 `--shares` `<integer> (0 - 50000)` ('default =' `1000`)::
1110
1111 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.
1112
1113 `--skiplock` `<boolean>` ::
1114
1115 Ignore locks - only root is allowed to use this option.
1116
1117 `--smbios1` `[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]` ::
1118
1119 Specify SMBIOS type 1 fields.
1120
1121 `--smp` `<integer> (1 - N)` ('default =' `1`)::
1122
1123 The number of CPUs. Please use option -sockets instead.
1124
1125 `--sockets` `<integer> (1 - N)` ('default =' `1`)::
1126
1127 The number of CPU sockets.
1128
1129 `--spice_enhancements` `[foldersharing=<1|0>] [,videostreaming=<off|all|filter>]` ::
1130
1131 Configure additional enhancements for SPICE.
1132
1133 `--sshkeys` `<filepath>` ::
1134
1135 cloud-init: Setup public SSH keys (one key per line, OpenSSH format).
1136
1137 `--startdate` `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
1138
1139 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'.
1140
1141 `--startup` `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
1142
1143 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.
1144
1145 `--tablet` `<boolean>` ('default =' `1`)::
1146
1147 Enable/disable the USB tablet device.
1148
1149 `--tags` `<string>` ::
1150
1151 Tags of the VM. This is only meta information.
1152
1153 `--tdf` `<boolean>` ('default =' `0`)::
1154
1155 Enable/disable time drift fix.
1156
1157 `--template` `<boolean>` ('default =' `0`)::
1158
1159 Enable/disable Template.
1160
1161 `--tpmstate0` `[file=]<volume> [,import-from=<source volume>] [,size=<DiskSize>] [,version=<v1.2|v2.0>]` ::
1162
1163 Configure a Disk for storing TPM state. The format is fixed to 'raw'. Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Note that SIZE_IN_GiB is ignored here and 4 MiB will be used instead. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
1164
1165 `--unused[n]` `[file=]<volume>` ::
1166
1167 Reference to unused volumes. This is used internally, and should not be modified manually.
1168
1169 `--usb[n]` `[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]` ::
1170
1171 Configure an USB device (n is 0 to 4).
1172
1173 `--vcpus` `<integer> (1 - N)` ('default =' `0`)::
1174
1175 Number of hotplugged vcpus.
1176
1177 `--vga` `[[type=]<enum>] [,memory=<integer>]` ::
1178
1179 Configure the VGA hardware.
1180
1181 `--virtio[n]` `[file=]<volume> [,aio=<native|threads|io_uring>] [,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>] [,import-from=<source volume>] [,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>] [,ro=<1|0>] [,secs=<integer>] [,serial=<serial>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
1182
1183 Use volume as VIRTIO hard disk (n is 0 to 15). Use the special syntax STORAGE_ID:SIZE_IN_GiB to allocate a new volume. Use STORAGE_ID:0 and the 'import-from' parameter to import from an existing volume.
1184
1185 `--vmgenid` `<UUID>` ('default =' `1 (autogenerated)`)::
1186
1187 Set VM Generation ID. Use '1' to autogenerate on create or update, pass '0' to disable explicitly.
1188
1189 `--vmstatestorage` `<string>` ::
1190
1191 Default storage for VM state volumes/files.
1192
1193 `--watchdog` `[[model=]<i6300esb|ib700>] [,action=<enum>]` ::
1194
1195 Create a virtual hardware watchdog device.
1196
1197 *qm showcmd* `<vmid>` `[OPTIONS]`
1198
1199 Show command line which is used to start the VM (debug info).
1200
1201 `<vmid>`: `<integer> (1 - N)` ::
1202
1203 The (unique) ID of the VM.
1204
1205 `--pretty` `<boolean>` ('default =' `0`)::
1206
1207 Puts each option on a new line to enhance human readability
1208
1209 `--snapshot` `<string>` ::
1210
1211 Fetch config values from given snapshot.
1212
1213 *qm shutdown* `<vmid>` `[OPTIONS]`
1214
1215 Shutdown virtual machine. This is similar to pressing the power button on a
1216 physical machine.This will send an ACPI event for the guest OS, which
1217 should then proceed to a clean shutdown.
1218
1219 `<vmid>`: `<integer> (1 - N)` ::
1220
1221 The (unique) ID of the VM.
1222
1223 `--forceStop` `<boolean>` ('default =' `0`)::
1224
1225 Make sure the VM stops.
1226
1227 `--keepActive` `<boolean>` ('default =' `0`)::
1228
1229 Do not deactivate storage volumes.
1230
1231 `--skiplock` `<boolean>` ::
1232
1233 Ignore locks - only root is allowed to use this option.
1234
1235 `--timeout` `<integer> (0 - N)` ::
1236
1237 Wait maximal timeout seconds.
1238
1239 *qm snapshot* `<vmid> <snapname>` `[OPTIONS]`
1240
1241 Snapshot a VM.
1242
1243 `<vmid>`: `<integer> (1 - N)` ::
1244
1245 The (unique) ID of the VM.
1246
1247 `<snapname>`: `<string>` ::
1248
1249 The name of the snapshot.
1250
1251 `--description` `<string>` ::
1252
1253 A textual description or comment.
1254
1255 `--vmstate` `<boolean>` ::
1256
1257 Save the vmstate
1258
1259 *qm start* `<vmid>` `[OPTIONS]`
1260
1261 Start virtual machine.
1262
1263 `<vmid>`: `<integer> (1 - N)` ::
1264
1265 The (unique) ID of the VM.
1266
1267 `--force-cpu` `<string>` ::
1268
1269 Override QEMU's -cpu argument with the given string.
1270
1271 `--machine` `(pc|pc(-i440fx)?-\d+(\.\d+)+(\+pve\d+)?(\.pxe)?|q35|pc-q35-\d+(\.\d+)+(\+pve\d+)?(\.pxe)?|virt(?:-\d+(\.\d+)+)?(\+pve\d+)?)` ::
1272
1273 Specifies the Qemu machine type.
1274
1275 `--migratedfrom` `<string>` ::
1276
1277 The cluster node name.
1278
1279 `--migration_network` `<string>` ::
1280
1281 CIDR of the (sub) network that is used for migration.
1282
1283 `--migration_type` `<insecure | secure>` ::
1284
1285 Migration traffic is encrypted using an SSH tunnel by default. On secure, completely private networks this can be disabled to increase performance.
1286
1287 `--skiplock` `<boolean>` ::
1288
1289 Ignore locks - only root is allowed to use this option.
1290
1291 `--stateuri` `<string>` ::
1292
1293 Some command save/restore state from this location.
1294
1295 `--targetstorage` `<string>` ::
1296
1297 Mapping from source to target storages. Providing only a single storage ID maps all source storages to that storage. Providing the special value '1' will map each source storage to itself.
1298
1299 `--timeout` `<integer> (0 - N)` ('default =' `max(30, vm memory in GiB)`)::
1300
1301 Wait maximal timeout seconds.
1302
1303 *qm status* `<vmid>` `[OPTIONS]`
1304
1305 Show VM status.
1306
1307 `<vmid>`: `<integer> (1 - N)` ::
1308
1309 The (unique) ID of the VM.
1310
1311 `--verbose` `<boolean>` ::
1312
1313 Verbose output format
1314
1315 *qm stop* `<vmid>` `[OPTIONS]`
1316
1317 Stop virtual machine. The qemu process will exit immediately. Thisis akin
1318 to pulling the power plug of a running computer and may damage the VM data
1319
1320 `<vmid>`: `<integer> (1 - N)` ::
1321
1322 The (unique) ID of the VM.
1323
1324 `--keepActive` `<boolean>` ('default =' `0`)::
1325
1326 Do not deactivate storage volumes.
1327
1328 `--migratedfrom` `<string>` ::
1329
1330 The cluster node name.
1331
1332 `--skiplock` `<boolean>` ::
1333
1334 Ignore locks - only root is allowed to use this option.
1335
1336 `--timeout` `<integer> (0 - N)` ::
1337
1338 Wait maximal timeout seconds.
1339
1340 *qm suspend* `<vmid>` `[OPTIONS]`
1341
1342 Suspend virtual machine.
1343
1344 `<vmid>`: `<integer> (1 - N)` ::
1345
1346 The (unique) ID of the VM.
1347
1348 `--skiplock` `<boolean>` ::
1349
1350 Ignore locks - only root is allowed to use this option.
1351
1352 `--statestorage` `<string>` ::
1353
1354 The storage for the VM state
1355 +
1356 NOTE: Requires option(s): `todisk`
1357
1358 `--todisk` `<boolean>` ('default =' `0`)::
1359
1360 If set, suspends the VM to disk. Will be resumed on next VM start.
1361
1362 *qm template* `<vmid>` `[OPTIONS]`
1363
1364 Create a Template.
1365
1366 `<vmid>`: `<integer> (1 - N)` ::
1367
1368 The (unique) ID of the VM.
1369
1370 `--disk` `<efidisk0 | ide0 | ide1 | ide2 | ide3 | sata0 | sata1 | sata2 | sata3 | sata4 | sata5 | scsi0 | scsi1 | scsi10 | scsi11 | scsi12 | scsi13 | scsi14 | scsi15 | scsi16 | scsi17 | scsi18 | scsi19 | scsi2 | scsi20 | scsi21 | scsi22 | scsi23 | scsi24 | scsi25 | scsi26 | scsi27 | scsi28 | scsi29 | scsi3 | scsi30 | scsi4 | scsi5 | scsi6 | scsi7 | scsi8 | scsi9 | tpmstate0 | virtio0 | virtio1 | virtio10 | virtio11 | virtio12 | virtio13 | virtio14 | virtio15 | virtio2 | virtio3 | virtio4 | virtio5 | virtio6 | virtio7 | virtio8 | virtio9>` ::
1371
1372 If you want to convert only 1 disk to base image.
1373
1374 *qm terminal* `<vmid>` `[OPTIONS]`
1375
1376 Open a terminal using a serial device (The VM need to have a serial device
1377 configured, for example 'serial0: socket')
1378
1379 `<vmid>`: `<integer> (1 - N)` ::
1380
1381 The (unique) ID of the VM.
1382
1383 `--escape` `<string>` ('default =' `^O`)::
1384
1385 Escape character.
1386
1387 `--iface` `<serial0 | serial1 | serial2 | serial3>` ::
1388
1389 Select the serial device. By default we simply use the first suitable device.
1390
1391 *qm unlink* `<vmid> --idlist <string>` `[OPTIONS]`
1392
1393 Unlink/delete disk images.
1394
1395 `<vmid>`: `<integer> (1 - N)` ::
1396
1397 The (unique) ID of the VM.
1398
1399 `--force` `<boolean>` ::
1400
1401 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.
1402
1403 `--idlist` `<string>` ::
1404
1405 A list of disk IDs you want to delete.
1406
1407 *qm unlock* `<vmid>`
1408
1409 Unlock the VM.
1410
1411 `<vmid>`: `<integer> (1 - N)` ::
1412
1413 The (unique) ID of the VM.
1414
1415 *qm vncproxy* `<vmid>`
1416
1417 Proxy VM VNC traffic to stdin/stdout
1418
1419 `<vmid>`: `<integer> (1 - N)` ::
1420
1421 The (unique) ID of the VM.
1422
1423 *qm wait* `<vmid>` `[OPTIONS]`
1424
1425 Wait until the VM is stopped.
1426
1427 `<vmid>`: `<integer> (1 - N)` ::
1428
1429 The (unique) ID of the VM.
1430
1431 `--timeout` `<integer> (1 - N)` ::
1432
1433 Timeout in seconds. Default is to wait forever.
1434
1435