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