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