]> git.proxmox.com Git - pve-docs.git/blame - qm.conf.5-opts.adoc
update generated docs
[pve-docs.git] / qm.conf.5-opts.adoc
CommitLineData
013dc89f 1`acpi`: `<boolean>` ('default =' `1`)::
6ec3cd20
DM
2
3Enable/disable ACPI.
4
013dc89f 5`agent`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
6
7Enable/disable Qemu GuestAgent.
8
013dc89f 9`args`: `<string>` ::
6ec3cd20 10
04ce4dfa 11Arbitrary arguments passed to kvm, for example:
6ec3cd20
DM
12+
13args: -no-reboot -no-hpet
04ce4dfa
DM
14+
15NOTE: this option is for experts only.
6ec3cd20 16
013dc89f 17`autostart`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
18
19Automatic restart after crash (currently ignored).
20
013dc89f 21`balloon`: `<integer> (0 - N)` ::
6ec3cd20 22
c2993fe5 23Amount of target RAM for the VM in MB. Using zero disables the ballon driver.
6ec3cd20 24
013dc89f 25`bios`: `<ovmf | seabios>` ('default =' `seabios`)::
6ec3cd20
DM
26
27Select BIOS implementation.
28
013dc89f 29`boot`: `[acdn]{1,4}` ('default =' `cdn`)::
6ec3cd20
DM
30
31Boot on floppy (a), hard disk (c), CD-ROM (d), or network (n).
32
33`bootdisk`: `(ide|sata|scsi|virtio)\d+` ::
34
35Enable booting from specified disk.
36
013dc89f 37`cdrom`: `<volume>` ::
6ec3cd20
DM
38
39This is an alias for option -ide2
40
013dc89f 41`cores`: `<integer> (1 - N)` ('default =' `1`)::
6ec3cd20
DM
42
43The number of cores per socket.
44
013dc89f 45`cpu`: `[cputype=]<enum> [,hidden=<1|0>]` ::
6ec3cd20
DM
46
47Emulated CPU type.
48
5d9c884c 49`cputype`=`<486 | Broadwell | Broadwell-noTSX | Conroe | Haswell | Haswell-noTSX | IvyBridge | Nehalem | Opteron_G1 | Opteron_G2 | Opteron_G3 | Opteron_G4 | Opteron_G5 | Penryn | SandyBridge | Skylake-Client | Westmere | athlon | core2duo | coreduo | host | kvm32 | kvm64 | pentium | pentium2 | pentium3 | phenom | qemu32 | qemu64>` ('default =' `kvm64`);;
c2993fe5
DM
50
51Emulated CPU type.
52
013dc89f 53`hidden`=`<boolean>` ('default =' `0`);;
c2993fe5
DM
54
55Do not identify as a KVM virtual machine.
56
013dc89f 57`cpulimit`: `<number> (0 - 128)` ('default =' `0`)::
6ec3cd20
DM
58
59Limit of CPU usage.
60+
c2993fe5 61NOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit.
6ec3cd20 62
013dc89f 63`cpuunits`: `<integer> (0 - 500000)` ('default =' `1024`)::
6ec3cd20 64
c2993fe5 65CPU weight for a VM. Argument is used in the kernel fair scheduler. The larger the number is, the more CPU time this VM gets. Number is relative to weights of all the other running VMs.
6ec3cd20
DM
66+
67NOTE: You can disable fair-scheduler configuration by setting this to 0.
68
013dc89f 69`description`: `<string>` ::
6ec3cd20 70
c2993fe5 71Description for the VM. Only used on the configuration web interface. This is saved as comment inside the configuration file.
6ec3cd20 72
013dc89f 73`efidisk0`: `[file=]<volume> [,format=<enum>] [,size=<DiskSize>]` ::
2c0dde61
DM
74
75Configure a Disk for storing EFI vars
76
77`file`=`<volume>` ;;
78
79The drive's backing volume.
80
013dc89f 81`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
2c0dde61
DM
82
83The drive's backing file's data format.
84
85`size`=`<DiskSize>` ;;
86
87Disk size. This is purely informational and has no effect.
88
013dc89f 89`freeze`: `<boolean>` ::
6ec3cd20
DM
90
91Freeze CPU at startup (use 'c' monitor command to start execution).
92
52e44c50 93`hostpci[n]`: `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,x-vga=<1|0>]` ::
6ec3cd20 94
c2993fe5 95Map host PCI devices into guest.
57b78691
DM
96+
97NOTE: This option allows direct access to host hardware. So it is no longer
98possible to migrate such machines - use with special care.
99+
100CAUTION: Experimental! User reported problems with this option.
c2993fe5
DM
101
102`host`=`<HOSTPCIID[;HOSTPCIID2...]>` ;;
103
104Host PCI device pass through. The PCI ID of a host's PCI device or a list
105of PCI virtual functions of the host. HOSTPCIID syntax is:
6ec3cd20
DM
106+
107'bus:dev.func' (hexadecimal numbers)
108+
c2993fe5 109You can us the 'lspci' command to list existing PCI devices.
c2993fe5 110
013dc89f 111`pcie`=`<boolean>` ('default =' `0`);;
c2993fe5
DM
112
113Choose the PCI-express bus (needs the 'q35' machine model).
114
013dc89f 115`rombar`=`<boolean>` ('default =' `1`);;
c2993fe5
DM
116
117Specify whether or not the device's ROM will be visible in the guest's memory map.
118
52e44c50
FG
119`romfile`=`<string>` ;;
120
121Custom pci device rom filename (must be located in /usr/share/kvm/).
122
013dc89f 123`x-vga`=`<boolean>` ('default =' `0`);;
c2993fe5
DM
124
125Enable vfio-vga device support.
6ec3cd20 126
013dc89f 127`hotplug`: `<string>` ('default =' `network,disk,usb`)::
6ec3cd20 128
c2993fe5 129Selectively 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'.
6ec3cd20 130
013dc89f 131`hugepages`: `<1024 | 2 | any>` ::
2c0dde61
DM
132
133Enable/disable hugepages memory.
134
5d9c884c 135`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>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
6ec3cd20
DM
136
137Use volume as IDE hard disk or CD-ROM (n is 0 to 3).
138
013dc89f 139`aio`=`<native | threads>` ;;
c2993fe5
DM
140
141AIO type to use.
142
013dc89f 143`backup`=`<boolean>` ;;
c2993fe5
DM
144
145Whether the drive should be included when making backups.
146
147`bps`=`<bps>` ;;
148
de0983cb
DM
149Maximum r/w speed in bytes per second.
150
151`bps_max_length`=`<seconds>` ;;
152
153Maximum length of I/O bursts in seconds.
c2993fe5
DM
154
155`bps_rd`=`<bps>` ;;
156
de0983cb
DM
157Maximum read speed in bytes per second.
158
5d9c884c 159`bps_rd_max_length`=`<seconds>` ;;
de0983cb
DM
160
161Maximum length of read I/O bursts in seconds.
c2993fe5
DM
162
163`bps_wr`=`<bps>` ;;
164
de0983cb
DM
165Maximum write speed in bytes per second.
166
5d9c884c 167`bps_wr_max_length`=`<seconds>` ;;
de0983cb
DM
168
169Maximum length of write I/O bursts in seconds.
c2993fe5 170
013dc89f 171`cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
c2993fe5
DM
172
173The drive's cache mode
174
013dc89f 175`cyls`=`<integer>` ;;
c2993fe5
DM
176
177Force the drive's physical geometry to have a specific cylinder count.
178
013dc89f 179`detect_zeroes`=`<boolean>` ;;
c2993fe5
DM
180
181Controls whether to detect and try to optimize writes of zeroes.
182
013dc89f 183`discard`=`<ignore | on>` ;;
c2993fe5
DM
184
185Controls whether to pass discard/trim requests to the underlying storage.
186
187`file`=`<volume>` ;;
188
189The drive's backing volume.
190
013dc89f 191`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
c2993fe5
DM
192
193The drive's backing file's data format.
194
013dc89f 195`heads`=`<integer>` ;;
c2993fe5
DM
196
197Force the drive's physical geometry to have a specific head count.
198
199`iops`=`<iops>` ;;
200
de0983cb 201Maximum r/w I/O in operations per second.
c2993fe5
DM
202
203`iops_max`=`<iops>` ;;
204
de0983cb
DM
205Maximum unthrottled r/w I/O pool in operations per second.
206
207`iops_max_length`=`<seconds>` ;;
208
209Maximum length of I/O bursts in seconds.
c2993fe5
DM
210
211`iops_rd`=`<iops>` ;;
212
de0983cb
DM
213Maximum read I/O in operations per second.
214
c2993fe5
DM
215`iops_rd_max`=`<iops>` ;;
216
de0983cb 217Maximum unthrottled read I/O pool in operations per second.
c2993fe5 218
5d9c884c 219`iops_rd_max_length`=`<seconds>` ;;
c2993fe5 220
5d9c884c 221Maximum length of read I/O bursts in seconds.
de0983cb 222
5d9c884c 223`iops_wr`=`<iops>` ;;
de0983cb 224
5d9c884c 225Maximum write I/O in operations per second.
c2993fe5
DM
226
227`iops_wr_max`=`<iops>` ;;
228
de0983cb 229Maximum unthrottled write I/O pool in operations per second.
c2993fe5 230
5d9c884c
DM
231`iops_wr_max_length`=`<seconds>` ;;
232
233Maximum length of write I/O bursts in seconds.
234
c2993fe5
DM
235`mbps`=`<mbps>` ;;
236
de0983cb 237Maximum r/w speed in megabytes per second.
c2993fe5
DM
238
239`mbps_max`=`<mbps>` ;;
240
de0983cb 241Maximum unthrottled r/w pool in megabytes per second.
c2993fe5
DM
242
243`mbps_rd`=`<mbps>` ;;
244
de0983cb 245Maximum read speed in megabytes per second.
c2993fe5
DM
246
247`mbps_rd_max`=`<mbps>` ;;
248
de0983cb 249Maximum unthrottled read pool in megabytes per second.
c2993fe5
DM
250
251`mbps_wr`=`<mbps>` ;;
252
de0983cb 253Maximum write speed in megabytes per second.
c2993fe5
DM
254
255`mbps_wr_max`=`<mbps>` ;;
256
de0983cb 257Maximum unthrottled write pool in megabytes per second.
c2993fe5 258
013dc89f 259`media`=`<cdrom | disk>` ('default =' `disk`);;
c2993fe5
DM
260
261The drive's media type.
262
263`model`=`<model>` ;;
264
265The drive's reported model name, url-encoded, up to 40 bytes long.
266
5d9c884c
DM
267`replicate`=`<boolean>` ('default =' `1`);;
268
269Whether the drive should considered for replication jobs.
270
013dc89f 271`rerror`=`<ignore | report | stop>` ;;
c2993fe5
DM
272
273Read error action.
274
013dc89f 275`secs`=`<integer>` ;;
c2993fe5
DM
276
277Force the drive's physical geometry to have a specific sector count.
278
279`serial`=`<serial>` ;;
280
281The drive's reported serial number, url-encoded, up to 20 bytes long.
282
283`size`=`<DiskSize>` ;;
284
285Disk size. This is purely informational and has no effect.
286
013dc89f 287`snapshot`=`<boolean>` ;;
c2993fe5
DM
288
289Whether the drive should be included when making snapshots.
290
013dc89f 291`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
292
293Force disk geometry bios translation mode.
294
013dc89f 295`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
296
297Write error action.
298
013dc89f 299`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>` ('default =' `en-us`)::
6ec3cd20 300
c2993fe5 301Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.
6ec3cd20 302
013dc89f 303`kvm`: `<boolean>` ('default =' `1`)::
6ec3cd20
DM
304
305Enable/disable KVM hardware virtualization.
306
013dc89f 307`localtime`: `<boolean>` ::
6ec3cd20 308
c2993fe5 309Set the real time clock to local time. This is enabled by default if ostype indicates a Microsoft OS.
6ec3cd20 310
013dc89f 311`lock`: `<backup | migrate | rollback | snapshot>` ::
6ec3cd20
DM
312
313Lock/unlock the VM.
314
315`machine`: `(pc|pc(-i440fx)?-\d+\.\d+(\.pxe)?|q35|pc-q35-\d+\.\d+(\.pxe)?)` ::
316
317Specific the Qemu machine type.
318
013dc89f 319`memory`: `<integer> (16 - N)` ('default =' `512`)::
6ec3cd20 320
c2993fe5 321Amount of RAM for the VM in MB. This is the maximum available memory when you use the balloon device.
6ec3cd20 322
013dc89f 323`migrate_downtime`: `<number> (0 - N)` ('default =' `0.1`)::
6ec3cd20
DM
324
325Set maximum tolerated downtime (in seconds) for migrations.
326
013dc89f 327`migrate_speed`: `<integer> (0 - N)` ('default =' `0`)::
6ec3cd20
DM
328
329Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
330
013dc89f 331`name`: `<string>` ::
6ec3cd20
DM
332
333Set a name for the VM. Only used on the configuration web interface.
334
013dc89f 335`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>]` ::
6ec3cd20
DM
336
337Specify network devices.
c2993fe5
DM
338
339`bridge`=`<bridge>` ;;
340
341Bridge to attach the network device to. The Proxmox VE standard bridge
342is called 'vmbr0'.
6ec3cd20 343+
c2993fe5
DM
344If you do not specify a bridge, we create a kvm user (NATed) network
345device, which provides DHCP and DNS services. The following addresses
346are used:
6ec3cd20 347+
c2993fe5
DM
348 10.0.2.2 Gateway
349 10.0.2.3 DNS Server
350 10.0.2.4 SMB Server
6ec3cd20
DM
351+
352The DHCP server assign addresses to the guest starting from 10.0.2.15.
353
013dc89f 354`firewall`=`<boolean>` ;;
c2993fe5
DM
355
356Whether this interface should be protected by the firewall.
357
013dc89f 358`link_down`=`<boolean>` ;;
c2993fe5
DM
359
360Whether this interface should be disconnected (like pulling the plug).
361
362`macaddr`=`<XX:XX:XX:XX:XX:XX>` ;;
363
364MAC address. That address must be unique withing your network. This is automatically generated if not specified.
365
013dc89f 366`model`=`<e1000 | e1000-82540em | e1000-82544gc | e1000-82545em | i82551 | i82557b | i82559er | ne2k_isa | ne2k_pci | pcnet | rtl8139 | virtio | vmxnet3>` ;;
c2993fe5
DM
367
368Network Card Model. The 'virtio' model provides the best performance with very low CPU overhead. If your guest does not support this driver, it is usually best to use 'e1000'.
369
013dc89f 370`queues`=`<integer> (0 - 16)` ;;
c2993fe5
DM
371
372Number of packet queues to be used on the device.
373
013dc89f 374`rate`=`<number> (0 - N)` ;;
c2993fe5
DM
375
376Rate limit in mbps (megabytes per second) as floating point number.
377
013dc89f 378`tag`=`<integer> (1 - 4094)` ;;
c2993fe5
DM
379
380VLAN tag to apply to packets on this interface.
381
382`trunks`=`<vlanid[;vlanid...]>` ;;
383
384VLAN trunks to pass through this interface.
385
013dc89f 386`numa`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
387
388Enable/disable NUMA.
389
f004f5b9 390`numa[n]`: `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]` ::
6ec3cd20 391
c2993fe5
DM
392NUMA topology.
393
394`cpus`=`<id[-id];...>` ;;
395
396CPUs accessing this NUMA node.
397
398`hostnodes`=`<id[-id];...>` ;;
399
400Host NUMA nodes to use.
401
013dc89f 402`memory`=`<number>` ;;
c2993fe5
DM
403
404Amount of memory this NUMA node provides.
405
013dc89f 406`policy`=`<bind | interleave | preferred>` ;;
c2993fe5
DM
407
408NUMA allocation policy.
6ec3cd20 409
013dc89f 410`onboot`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
411
412Specifies whether a VM will be started during system bootup.
413
32d876b5 414`ostype`: `<l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win7 | win8 | wvista | wxp>` ::
6ec3cd20 415
c2993fe5
DM
416Specify guest operating system. This is used to enable special
417optimization/features for specific operating systems:
6ec3cd20 418+
c2993fe5
DM
419[horizontal]
420other;; unspecified OS
421wxp;; Microsoft Windows XP
422w2k;; Microsoft Windows 2000
423w2k3;; Microsoft Windows 2003
424w2k8;; Microsoft Windows 2008
425wvista;; Microsoft Windows Vista
426win7;; Microsoft Windows 7
427win8;; Microsoft Windows 8/2012
428l24;; Linux 2.4 Kernel
429l26;; Linux 2.6/3.X Kernel
430solaris;; Solaris/OpenSolaris/OpenIndiania kernel
6ec3cd20
DM
431
432`parallel[n]`: `/dev/parport\d+|/dev/usb/lp\d+` ::
433
434Map host parallel devices (n is 0 to 2).
435+
c2993fe5 436NOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
6ec3cd20 437+
c2993fe5 438CAUTION: Experimental! User reported problems with this option.
6ec3cd20 439
013dc89f 440`protection`: `<boolean>` ('default =' `0`)::
6ec3cd20 441
c2993fe5 442Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.
6ec3cd20 443
013dc89f 444`reboot`: `<boolean>` ('default =' `1`)::
6ec3cd20
DM
445
446Allow reboot. If set to '0' the VM exit on reboot.
447
5d9c884c 448`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>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
6ec3cd20
DM
449
450Use volume as SATA hard disk or CD-ROM (n is 0 to 5).
451
013dc89f 452`aio`=`<native | threads>` ;;
c2993fe5
DM
453
454AIO type to use.
455
013dc89f 456`backup`=`<boolean>` ;;
c2993fe5
DM
457
458Whether the drive should be included when making backups.
459
460`bps`=`<bps>` ;;
461
de0983cb
DM
462Maximum r/w speed in bytes per second.
463
464`bps_max_length`=`<seconds>` ;;
465
466Maximum length of I/O bursts in seconds.
c2993fe5
DM
467
468`bps_rd`=`<bps>` ;;
469
de0983cb
DM
470Maximum read speed in bytes per second.
471
5d9c884c 472`bps_rd_max_length`=`<seconds>` ;;
de0983cb
DM
473
474Maximum length of read I/O bursts in seconds.
c2993fe5
DM
475
476`bps_wr`=`<bps>` ;;
477
de0983cb
DM
478Maximum write speed in bytes per second.
479
5d9c884c 480`bps_wr_max_length`=`<seconds>` ;;
de0983cb
DM
481
482Maximum length of write I/O bursts in seconds.
c2993fe5 483
013dc89f 484`cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
c2993fe5
DM
485
486The drive's cache mode
487
013dc89f 488`cyls`=`<integer>` ;;
c2993fe5
DM
489
490Force the drive's physical geometry to have a specific cylinder count.
491
013dc89f 492`detect_zeroes`=`<boolean>` ;;
c2993fe5
DM
493
494Controls whether to detect and try to optimize writes of zeroes.
495
013dc89f 496`discard`=`<ignore | on>` ;;
c2993fe5
DM
497
498Controls whether to pass discard/trim requests to the underlying storage.
499
500`file`=`<volume>` ;;
501
502The drive's backing volume.
503
013dc89f 504`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
c2993fe5
DM
505
506The drive's backing file's data format.
507
013dc89f 508`heads`=`<integer>` ;;
c2993fe5
DM
509
510Force the drive's physical geometry to have a specific head count.
511
512`iops`=`<iops>` ;;
513
de0983cb 514Maximum r/w I/O in operations per second.
c2993fe5
DM
515
516`iops_max`=`<iops>` ;;
517
de0983cb
DM
518Maximum unthrottled r/w I/O pool in operations per second.
519
520`iops_max_length`=`<seconds>` ;;
521
522Maximum length of I/O bursts in seconds.
c2993fe5
DM
523
524`iops_rd`=`<iops>` ;;
525
de0983cb
DM
526Maximum read I/O in operations per second.
527
c2993fe5
DM
528`iops_rd_max`=`<iops>` ;;
529
de0983cb 530Maximum unthrottled read I/O pool in operations per second.
c2993fe5 531
5d9c884c 532`iops_rd_max_length`=`<seconds>` ;;
c2993fe5 533
5d9c884c 534Maximum length of read I/O bursts in seconds.
de0983cb 535
5d9c884c 536`iops_wr`=`<iops>` ;;
de0983cb 537
5d9c884c 538Maximum write I/O in operations per second.
c2993fe5
DM
539
540`iops_wr_max`=`<iops>` ;;
541
de0983cb 542Maximum unthrottled write I/O pool in operations per second.
c2993fe5 543
5d9c884c
DM
544`iops_wr_max_length`=`<seconds>` ;;
545
546Maximum length of write I/O bursts in seconds.
547
c2993fe5
DM
548`mbps`=`<mbps>` ;;
549
de0983cb 550Maximum r/w speed in megabytes per second.
c2993fe5
DM
551
552`mbps_max`=`<mbps>` ;;
553
de0983cb 554Maximum unthrottled r/w pool in megabytes per second.
c2993fe5
DM
555
556`mbps_rd`=`<mbps>` ;;
557
de0983cb 558Maximum read speed in megabytes per second.
c2993fe5
DM
559
560`mbps_rd_max`=`<mbps>` ;;
561
de0983cb 562Maximum unthrottled read pool in megabytes per second.
c2993fe5
DM
563
564`mbps_wr`=`<mbps>` ;;
565
de0983cb 566Maximum write speed in megabytes per second.
c2993fe5
DM
567
568`mbps_wr_max`=`<mbps>` ;;
569
de0983cb 570Maximum unthrottled write pool in megabytes per second.
c2993fe5 571
013dc89f 572`media`=`<cdrom | disk>` ('default =' `disk`);;
c2993fe5
DM
573
574The drive's media type.
575
5d9c884c
DM
576`replicate`=`<boolean>` ('default =' `1`);;
577
578Whether the drive should considered for replication jobs.
579
013dc89f 580`rerror`=`<ignore | report | stop>` ;;
c2993fe5
DM
581
582Read error action.
583
013dc89f 584`secs`=`<integer>` ;;
c2993fe5
DM
585
586Force the drive's physical geometry to have a specific sector count.
587
588`serial`=`<serial>` ;;
589
590The drive's reported serial number, url-encoded, up to 20 bytes long.
591
592`size`=`<DiskSize>` ;;
593
594Disk size. This is purely informational and has no effect.
595
013dc89f 596`snapshot`=`<boolean>` ;;
c2993fe5
DM
597
598Whether the drive should be included when making snapshots.
599
013dc89f 600`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
601
602Force disk geometry bios translation mode.
603
013dc89f 604`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
605
606Write error action.
607
5d9c884c 608`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>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
6ec3cd20
DM
609
610Use volume as SCSI hard disk or CD-ROM (n is 0 to 13).
611
013dc89f 612`aio`=`<native | threads>` ;;
c2993fe5
DM
613
614AIO type to use.
615
013dc89f 616`backup`=`<boolean>` ;;
c2993fe5
DM
617
618Whether the drive should be included when making backups.
619
620`bps`=`<bps>` ;;
621
de0983cb
DM
622Maximum r/w speed in bytes per second.
623
624`bps_max_length`=`<seconds>` ;;
625
626Maximum length of I/O bursts in seconds.
c2993fe5
DM
627
628`bps_rd`=`<bps>` ;;
629
de0983cb
DM
630Maximum read speed in bytes per second.
631
5d9c884c 632`bps_rd_max_length`=`<seconds>` ;;
de0983cb
DM
633
634Maximum length of read I/O bursts in seconds.
c2993fe5
DM
635
636`bps_wr`=`<bps>` ;;
637
de0983cb
DM
638Maximum write speed in bytes per second.
639
5d9c884c 640`bps_wr_max_length`=`<seconds>` ;;
de0983cb
DM
641
642Maximum length of write I/O bursts in seconds.
c2993fe5 643
013dc89f 644`cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
c2993fe5
DM
645
646The drive's cache mode
647
013dc89f 648`cyls`=`<integer>` ;;
c2993fe5
DM
649
650Force the drive's physical geometry to have a specific cylinder count.
651
013dc89f 652`detect_zeroes`=`<boolean>` ;;
c2993fe5
DM
653
654Controls whether to detect and try to optimize writes of zeroes.
655
013dc89f 656`discard`=`<ignore | on>` ;;
c2993fe5
DM
657
658Controls whether to pass discard/trim requests to the underlying storage.
659
660`file`=`<volume>` ;;
661
662The drive's backing volume.
663
013dc89f 664`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
c2993fe5
DM
665
666The drive's backing file's data format.
667
013dc89f 668`heads`=`<integer>` ;;
c2993fe5
DM
669
670Force the drive's physical geometry to have a specific head count.
671
672`iops`=`<iops>` ;;
673
de0983cb 674Maximum r/w I/O in operations per second.
c2993fe5
DM
675
676`iops_max`=`<iops>` ;;
677
de0983cb
DM
678Maximum unthrottled r/w I/O pool in operations per second.
679
680`iops_max_length`=`<seconds>` ;;
681
682Maximum length of I/O bursts in seconds.
c2993fe5
DM
683
684`iops_rd`=`<iops>` ;;
685
de0983cb
DM
686Maximum read I/O in operations per second.
687
c2993fe5
DM
688`iops_rd_max`=`<iops>` ;;
689
de0983cb 690Maximum unthrottled read I/O pool in operations per second.
c2993fe5 691
5d9c884c 692`iops_rd_max_length`=`<seconds>` ;;
c2993fe5 693
5d9c884c 694Maximum length of read I/O bursts in seconds.
de0983cb 695
5d9c884c 696`iops_wr`=`<iops>` ;;
de0983cb 697
5d9c884c 698Maximum write I/O in operations per second.
c2993fe5
DM
699
700`iops_wr_max`=`<iops>` ;;
701
de0983cb 702Maximum unthrottled write I/O pool in operations per second.
c2993fe5 703
5d9c884c
DM
704`iops_wr_max_length`=`<seconds>` ;;
705
706Maximum length of write I/O bursts in seconds.
707
013dc89f 708`iothread`=`<boolean>` ;;
c2993fe5
DM
709
710Whether to use iothreads for this drive
711
712`mbps`=`<mbps>` ;;
713
de0983cb 714Maximum r/w speed in megabytes per second.
c2993fe5
DM
715
716`mbps_max`=`<mbps>` ;;
717
de0983cb 718Maximum unthrottled r/w pool in megabytes per second.
c2993fe5
DM
719
720`mbps_rd`=`<mbps>` ;;
721
de0983cb 722Maximum read speed in megabytes per second.
c2993fe5
DM
723
724`mbps_rd_max`=`<mbps>` ;;
725
de0983cb 726Maximum unthrottled read pool in megabytes per second.
c2993fe5
DM
727
728`mbps_wr`=`<mbps>` ;;
729
de0983cb 730Maximum write speed in megabytes per second.
c2993fe5
DM
731
732`mbps_wr_max`=`<mbps>` ;;
733
de0983cb 734Maximum unthrottled write pool in megabytes per second.
c2993fe5 735
013dc89f 736`media`=`<cdrom | disk>` ('default =' `disk`);;
c2993fe5
DM
737
738The drive's media type.
739
013dc89f 740`queues`=`<integer> (2 - N)` ;;
c2993fe5
DM
741
742Number of queues.
743
5d9c884c
DM
744`replicate`=`<boolean>` ('default =' `1`);;
745
746Whether the drive should considered for replication jobs.
747
748`rerror`=`<ignore | report | stop>` ;;
749
750Read error action.
751
52e44c50
FG
752`scsiblock`=`<boolean>` ('default =' `0`);;
753
754whether to use scsi-block for full passthrough of host block device
755+
756WARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host
757
013dc89f 758`secs`=`<integer>` ;;
c2993fe5
DM
759
760Force the drive's physical geometry to have a specific sector count.
761
762`serial`=`<serial>` ;;
763
764The drive's reported serial number, url-encoded, up to 20 bytes long.
765
766`size`=`<DiskSize>` ;;
767
768Disk size. This is purely informational and has no effect.
769
013dc89f 770`snapshot`=`<boolean>` ;;
c2993fe5
DM
771
772Whether the drive should be included when making snapshots.
773
013dc89f 774`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
775
776Force disk geometry bios translation mode.
777
013dc89f 778`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
779
780Write error action.
781
013dc89f 782`scsihw`: `<lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single>` ('default =' `lsi`)::
6ec3cd20 783
c2993fe5 784SCSI controller model
6ec3cd20
DM
785
786`serial[n]`: `(/dev/.+|socket)` ::
787
c2993fe5
DM
788Create a serial device inside the VM (n is 0 to 3), and pass through a
789host serial device (i.e. /dev/ttyS0), or create a unix socket on the
790host side (use 'qm terminal' to open a terminal connection).
791+
792NOTE: If you pass through a host serial device, it is no longer possible to migrate such machines - use with special care.
6ec3cd20 793+
c2993fe5 794CAUTION: Experimental! User reported problems with this option.
6ec3cd20 795
013dc89f 796`shares`: `<integer> (0 - 50000)` ('default =' `1000`)::
6ec3cd20 797
c2993fe5 798Amount 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
6ec3cd20 799
f004f5b9 800`smbios1`: `[family=<string>] [,manufacturer=<string>] [,product=<string>] [,serial=<string>] [,sku=<string>] [,uuid=<UUID>] [,version=<string>]` ::
6ec3cd20
DM
801
802Specify SMBIOS type 1 fields.
803
c2993fe5
DM
804`family`=`<string>` ;;
805
806Set SMBIOS1 family string.
807
808`manufacturer`=`<string>` ;;
809
810Set SMBIOS1 manufacturer.
811
812`product`=`<string>` ;;
813
814Set SMBIOS1 product ID.
815
816`serial`=`<string>` ;;
817
818Set SMBIOS1 serial number.
819
820`sku`=`<string>` ;;
821
822Set SMBIOS1 SKU string.
823
824`uuid`=`<UUID>` ;;
825
826Set SMBIOS1 UUID.
827
828`version`=`<string>` ;;
829
830Set SMBIOS1 version.
831
013dc89f 832`smp`: `<integer> (1 - N)` ('default =' `1`)::
6ec3cd20
DM
833
834The number of CPUs. Please use option -sockets instead.
835
013dc89f 836`sockets`: `<integer> (1 - N)` ('default =' `1`)::
6ec3cd20
DM
837
838The number of CPU sockets.
839
013dc89f 840`startdate`: `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
6ec3cd20 841
c2993fe5 842Set the initial date of the real time clock. Valid format for date are: 'now' or '2006-06-17T16:01:21' or '2006-06-17'.
6ec3cd20
DM
843
844`startup`: `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
845
c2993fe5 846Startup 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.
6ec3cd20 847
013dc89f 848`tablet`: `<boolean>` ('default =' `1`)::
6ec3cd20 849
c2993fe5 850Enable/disable the USB tablet device. This device is usually needed to allow absolute mouse positioning with VNC. Else the mouse runs out of sync with normal VNC clients. If you're running lots of console-only guests on one host, you may consider disabling this to save some context switches. This is turned off by default if you use spice (-vga=qxl).
6ec3cd20 851
013dc89f 852`tdf`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
853
854Enable/disable time drift fix.
855
013dc89f 856`template`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
857
858Enable/disable Template.
859
013dc89f 860`unused[n]`: `<string>` ::
6ec3cd20 861
c2993fe5 862Reference to unused volumes. This is used internally, and should not be modified manually.
6ec3cd20 863
f004f5b9 864`usb[n]`: `[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]` ::
6ec3cd20 865
c2993fe5
DM
866Configure an USB device (n is 0 to 4).
867
868`host`=`<HOSTUSBDEVICE|spice>` ;;
869
870The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:
6ec3cd20 871+
c2993fe5
DM
872 'bus-port(.port)*' (decimal numbers) or
873 'vendor_id:product_id' (hexadeciaml numbers) or
874 'spice'
6ec3cd20
DM
875+
876You can use the 'lsusb -t' command to list existing usb devices.
877+
c2993fe5 878NOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
6ec3cd20
DM
879+
880The value 'spice' can be used to add a usb redirection devices for spice.
c2993fe5 881
013dc89f 882`usb3`=`<boolean>` ('default =' `0`);;
c2993fe5
DM
883
884Specifies whether if given host option is a USB3 device or port (this does currently not work reliably with spice redirection and is then ignored).
6ec3cd20 885
013dc89f 886`vcpus`: `<integer> (1 - N)` ('default =' `0`)::
6ec3cd20
DM
887
888Number of hotplugged vcpus.
889
013dc89f 890`vga`: `<cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | vmware>` ::
6ec3cd20 891
c2993fe5 892Select the VGA type. If you want to use high resolution modes (>= 1280x1024x16) then you should use the options 'std' or 'vmware'. Default is 'std' for win8/win7/w2k8, and 'cirrus' for other OS types. The 'qxl' option enables the SPICE display sever. For win* OS you can select how many independent displays you want, Linux guests can add displays them self. You can also run without any graphic card, using a serial device as terminal.
6ec3cd20 893
5d9c884c 894`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>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
6ec3cd20
DM
895
896Use volume as VIRTIO hard disk (n is 0 to 15).
897
013dc89f 898`aio`=`<native | threads>` ;;
c2993fe5
DM
899
900AIO type to use.
901
013dc89f 902`backup`=`<boolean>` ;;
c2993fe5
DM
903
904Whether the drive should be included when making backups.
905
906`bps`=`<bps>` ;;
907
de0983cb
DM
908Maximum r/w speed in bytes per second.
909
910`bps_max_length`=`<seconds>` ;;
911
912Maximum length of I/O bursts in seconds.
c2993fe5
DM
913
914`bps_rd`=`<bps>` ;;
915
de0983cb
DM
916Maximum read speed in bytes per second.
917
5d9c884c 918`bps_rd_max_length`=`<seconds>` ;;
de0983cb
DM
919
920Maximum length of read I/O bursts in seconds.
c2993fe5
DM
921
922`bps_wr`=`<bps>` ;;
923
de0983cb
DM
924Maximum write speed in bytes per second.
925
5d9c884c 926`bps_wr_max_length`=`<seconds>` ;;
de0983cb
DM
927
928Maximum length of write I/O bursts in seconds.
c2993fe5 929
013dc89f 930`cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
c2993fe5
DM
931
932The drive's cache mode
933
013dc89f 934`cyls`=`<integer>` ;;
c2993fe5
DM
935
936Force the drive's physical geometry to have a specific cylinder count.
937
013dc89f 938`detect_zeroes`=`<boolean>` ;;
c2993fe5
DM
939
940Controls whether to detect and try to optimize writes of zeroes.
941
013dc89f 942`discard`=`<ignore | on>` ;;
c2993fe5
DM
943
944Controls whether to pass discard/trim requests to the underlying storage.
945
946`file`=`<volume>` ;;
947
948The drive's backing volume.
949
013dc89f 950`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
c2993fe5
DM
951
952The drive's backing file's data format.
953
013dc89f 954`heads`=`<integer>` ;;
c2993fe5
DM
955
956Force the drive's physical geometry to have a specific head count.
957
958`iops`=`<iops>` ;;
959
de0983cb 960Maximum r/w I/O in operations per second.
c2993fe5
DM
961
962`iops_max`=`<iops>` ;;
963
de0983cb
DM
964Maximum unthrottled r/w I/O pool in operations per second.
965
966`iops_max_length`=`<seconds>` ;;
967
968Maximum length of I/O bursts in seconds.
c2993fe5
DM
969
970`iops_rd`=`<iops>` ;;
971
de0983cb
DM
972Maximum read I/O in operations per second.
973
c2993fe5
DM
974`iops_rd_max`=`<iops>` ;;
975
de0983cb 976Maximum unthrottled read I/O pool in operations per second.
c2993fe5 977
5d9c884c 978`iops_rd_max_length`=`<seconds>` ;;
c2993fe5 979
5d9c884c 980Maximum length of read I/O bursts in seconds.
de0983cb 981
5d9c884c 982`iops_wr`=`<iops>` ;;
de0983cb 983
5d9c884c 984Maximum write I/O in operations per second.
c2993fe5
DM
985
986`iops_wr_max`=`<iops>` ;;
987
de0983cb 988Maximum unthrottled write I/O pool in operations per second.
c2993fe5 989
5d9c884c
DM
990`iops_wr_max_length`=`<seconds>` ;;
991
992Maximum length of write I/O bursts in seconds.
993
013dc89f 994`iothread`=`<boolean>` ;;
c2993fe5
DM
995
996Whether to use iothreads for this drive
997
998`mbps`=`<mbps>` ;;
999
de0983cb 1000Maximum r/w speed in megabytes per second.
c2993fe5
DM
1001
1002`mbps_max`=`<mbps>` ;;
1003
de0983cb 1004Maximum unthrottled r/w pool in megabytes per second.
c2993fe5
DM
1005
1006`mbps_rd`=`<mbps>` ;;
1007
de0983cb 1008Maximum read speed in megabytes per second.
c2993fe5
DM
1009
1010`mbps_rd_max`=`<mbps>` ;;
1011
de0983cb 1012Maximum unthrottled read pool in megabytes per second.
c2993fe5
DM
1013
1014`mbps_wr`=`<mbps>` ;;
1015
de0983cb 1016Maximum write speed in megabytes per second.
c2993fe5
DM
1017
1018`mbps_wr_max`=`<mbps>` ;;
1019
de0983cb 1020Maximum unthrottled write pool in megabytes per second.
c2993fe5 1021
013dc89f 1022`media`=`<cdrom | disk>` ('default =' `disk`);;
c2993fe5
DM
1023
1024The drive's media type.
1025
5d9c884c
DM
1026`replicate`=`<boolean>` ('default =' `1`);;
1027
1028Whether the drive should considered for replication jobs.
1029
013dc89f 1030`rerror`=`<ignore | report | stop>` ;;
c2993fe5
DM
1031
1032Read error action.
1033
013dc89f 1034`secs`=`<integer>` ;;
c2993fe5
DM
1035
1036Force the drive's physical geometry to have a specific sector count.
1037
1038`serial`=`<serial>` ;;
1039
1040The drive's reported serial number, url-encoded, up to 20 bytes long.
1041
1042`size`=`<DiskSize>` ;;
1043
1044Disk size. This is purely informational and has no effect.
1045
013dc89f 1046`snapshot`=`<boolean>` ;;
c2993fe5
DM
1047
1048Whether the drive should be included when making snapshots.
1049
013dc89f 1050`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
1051
1052Force disk geometry bios translation mode.
1053
013dc89f 1054`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
1055
1056Write error action.
1057
013dc89f 1058`watchdog`: `[[model=]<i6300esb|ib700>] [,action=<enum>]` ::
6ec3cd20 1059
c2993fe5
DM
1060Create a virtual hardware watchdog device. Once enabled (by a guest action), the watchdog must be periodically polled by an agent inside the guest or else the watchdog will reset the guest (or execute the respective action specified)
1061
013dc89f 1062`action`=`<debug | none | pause | poweroff | reset | shutdown>` ;;
c2993fe5
DM
1063
1064The action to perform if after activation the guest fails to poll the watchdog in time.
1065
013dc89f 1066`model`=`<i6300esb | ib700>` ('default =' `i6300esb`);;
c2993fe5
DM
1067
1068Watchdog type to emulate.
6ec3cd20 1069