]> git.proxmox.com Git - pve-docs.git/blame - qm.conf.5-opts.adoc
pvesr.adoc: add dummy man page for storage replication tool
[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
013dc89f 49`cputype`=`<486 | Broadwell | Broadwell-noTSX | Conroe | Haswell | Haswell-noTSX | IvyBridge | Nehalem | Opteron_G1 | Opteron_G2 | Opteron_G3 | Opteron_G4 | Opteron_G5 | Penryn | SandyBridge | 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
013dc89f 135`ide[n]`: `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_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_length=<seconds>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_length=<seconds>] [,iops_wr_max=<iops>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,model=<model>] [,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
159`bps_rd_length`=`<seconds>` ;;
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
167`bps_wr_length`=`<seconds>` ;;
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
215`iops_rd_length`=`<seconds>` ;;
216
217Maximum length of read I/O bursts in seconds.
c2993fe5
DM
218
219`iops_rd_max`=`<iops>` ;;
220
de0983cb 221Maximum unthrottled read I/O pool in operations per second.
c2993fe5
DM
222
223`iops_wr`=`<iops>` ;;
224
de0983cb
DM
225Maximum write I/O in operations per second.
226
227`iops_wr_length`=`<seconds>` ;;
228
229Maximum length of write I/O bursts in seconds.
c2993fe5
DM
230
231`iops_wr_max`=`<iops>` ;;
232
de0983cb 233Maximum unthrottled write I/O pool in operations per second.
c2993fe5
DM
234
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
013dc89f 267`rerror`=`<ignore | report | stop>` ;;
c2993fe5
DM
268
269Read error action.
270
013dc89f 271`secs`=`<integer>` ;;
c2993fe5
DM
272
273Force the drive's physical geometry to have a specific sector count.
274
275`serial`=`<serial>` ;;
276
277The drive's reported serial number, url-encoded, up to 20 bytes long.
278
279`size`=`<DiskSize>` ;;
280
281Disk size. This is purely informational and has no effect.
282
013dc89f 283`snapshot`=`<boolean>` ;;
c2993fe5
DM
284
285Whether the drive should be included when making snapshots.
286
013dc89f 287`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
288
289Force disk geometry bios translation mode.
290
013dc89f 291`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
292
293Write error action.
294
013dc89f 295`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 296
c2993fe5 297Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.conf' configuration file.
6ec3cd20 298
013dc89f 299`kvm`: `<boolean>` ('default =' `1`)::
6ec3cd20
DM
300
301Enable/disable KVM hardware virtualization.
302
013dc89f 303`localtime`: `<boolean>` ::
6ec3cd20 304
c2993fe5 305Set the real time clock to local time. This is enabled by default if ostype indicates a Microsoft OS.
6ec3cd20 306
013dc89f 307`lock`: `<backup | migrate | rollback | snapshot>` ::
6ec3cd20
DM
308
309Lock/unlock the VM.
310
311`machine`: `(pc|pc(-i440fx)?-\d+\.\d+(\.pxe)?|q35|pc-q35-\d+\.\d+(\.pxe)?)` ::
312
313Specific the Qemu machine type.
314
013dc89f 315`memory`: `<integer> (16 - N)` ('default =' `512`)::
6ec3cd20 316
c2993fe5 317Amount of RAM for the VM in MB. This is the maximum available memory when you use the balloon device.
6ec3cd20 318
013dc89f 319`migrate_downtime`: `<number> (0 - N)` ('default =' `0.1`)::
6ec3cd20
DM
320
321Set maximum tolerated downtime (in seconds) for migrations.
322
013dc89f 323`migrate_speed`: `<integer> (0 - N)` ('default =' `0`)::
6ec3cd20
DM
324
325Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
326
013dc89f 327`name`: `<string>` ::
6ec3cd20
DM
328
329Set a name for the VM. Only used on the configuration web interface.
330
013dc89f 331`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
332
333Specify network devices.
c2993fe5
DM
334
335`bridge`=`<bridge>` ;;
336
337Bridge to attach the network device to. The Proxmox VE standard bridge
338is called 'vmbr0'.
6ec3cd20 339+
c2993fe5
DM
340If you do not specify a bridge, we create a kvm user (NATed) network
341device, which provides DHCP and DNS services. The following addresses
342are used:
6ec3cd20 343+
c2993fe5
DM
344 10.0.2.2 Gateway
345 10.0.2.3 DNS Server
346 10.0.2.4 SMB Server
6ec3cd20
DM
347+
348The DHCP server assign addresses to the guest starting from 10.0.2.15.
349
013dc89f 350`firewall`=`<boolean>` ;;
c2993fe5
DM
351
352Whether this interface should be protected by the firewall.
353
013dc89f 354`link_down`=`<boolean>` ;;
c2993fe5
DM
355
356Whether this interface should be disconnected (like pulling the plug).
357
358`macaddr`=`<XX:XX:XX:XX:XX:XX>` ;;
359
360MAC address. That address must be unique withing your network. This is automatically generated if not specified.
361
013dc89f 362`model`=`<e1000 | e1000-82540em | e1000-82544gc | e1000-82545em | i82551 | i82557b | i82559er | ne2k_isa | ne2k_pci | pcnet | rtl8139 | virtio | vmxnet3>` ;;
c2993fe5
DM
363
364Network 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'.
365
013dc89f 366`queues`=`<integer> (0 - 16)` ;;
c2993fe5
DM
367
368Number of packet queues to be used on the device.
369
013dc89f 370`rate`=`<number> (0 - N)` ;;
c2993fe5
DM
371
372Rate limit in mbps (megabytes per second) as floating point number.
373
013dc89f 374`tag`=`<integer> (1 - 4094)` ;;
c2993fe5
DM
375
376VLAN tag to apply to packets on this interface.
377
378`trunks`=`<vlanid[;vlanid...]>` ;;
379
380VLAN trunks to pass through this interface.
381
013dc89f 382`numa`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
383
384Enable/disable NUMA.
385
f004f5b9 386`numa[n]`: `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]` ::
6ec3cd20 387
c2993fe5
DM
388NUMA topology.
389
390`cpus`=`<id[-id];...>` ;;
391
392CPUs accessing this NUMA node.
393
394`hostnodes`=`<id[-id];...>` ;;
395
396Host NUMA nodes to use.
397
013dc89f 398`memory`=`<number>` ;;
c2993fe5
DM
399
400Amount of memory this NUMA node provides.
401
013dc89f 402`policy`=`<bind | interleave | preferred>` ;;
c2993fe5
DM
403
404NUMA allocation policy.
6ec3cd20 405
013dc89f 406`onboot`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
407
408Specifies whether a VM will be started during system bootup.
409
32d876b5 410`ostype`: `<l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win7 | win8 | wvista | wxp>` ::
6ec3cd20 411
c2993fe5
DM
412Specify guest operating system. This is used to enable special
413optimization/features for specific operating systems:
6ec3cd20 414+
c2993fe5
DM
415[horizontal]
416other;; unspecified OS
417wxp;; Microsoft Windows XP
418w2k;; Microsoft Windows 2000
419w2k3;; Microsoft Windows 2003
420w2k8;; Microsoft Windows 2008
421wvista;; Microsoft Windows Vista
422win7;; Microsoft Windows 7
423win8;; Microsoft Windows 8/2012
424l24;; Linux 2.4 Kernel
425l26;; Linux 2.6/3.X Kernel
426solaris;; Solaris/OpenSolaris/OpenIndiania kernel
6ec3cd20
DM
427
428`parallel[n]`: `/dev/parport\d+|/dev/usb/lp\d+` ::
429
430Map host parallel devices (n is 0 to 2).
431+
c2993fe5 432NOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
6ec3cd20 433+
c2993fe5 434CAUTION: Experimental! User reported problems with this option.
6ec3cd20 435
013dc89f 436`protection`: `<boolean>` ('default =' `0`)::
6ec3cd20 437
c2993fe5 438Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.
6ec3cd20 439
013dc89f 440`reboot`: `<boolean>` ('default =' `1`)::
6ec3cd20
DM
441
442Allow reboot. If set to '0' the VM exit on reboot.
443
013dc89f 444`sata[n]`: `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_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_length=<seconds>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_length=<seconds>] [,iops_wr_max=<iops>] [,mbps=<mbps>] [,mbps_max=<mbps>] [,mbps_rd=<mbps>] [,mbps_rd_max=<mbps>] [,mbps_wr=<mbps>] [,mbps_wr_max=<mbps>] [,media=<cdrom|disk>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
6ec3cd20
DM
445
446Use volume as SATA hard disk or CD-ROM (n is 0 to 5).
447
013dc89f 448`aio`=`<native | threads>` ;;
c2993fe5
DM
449
450AIO type to use.
451
013dc89f 452`backup`=`<boolean>` ;;
c2993fe5
DM
453
454Whether the drive should be included when making backups.
455
456`bps`=`<bps>` ;;
457
de0983cb
DM
458Maximum r/w speed in bytes per second.
459
460`bps_max_length`=`<seconds>` ;;
461
462Maximum length of I/O bursts in seconds.
c2993fe5
DM
463
464`bps_rd`=`<bps>` ;;
465
de0983cb
DM
466Maximum read speed in bytes per second.
467
468`bps_rd_length`=`<seconds>` ;;
469
470Maximum length of read I/O bursts in seconds.
c2993fe5
DM
471
472`bps_wr`=`<bps>` ;;
473
de0983cb
DM
474Maximum write speed in bytes per second.
475
476`bps_wr_length`=`<seconds>` ;;
477
478Maximum length of write I/O bursts in seconds.
c2993fe5 479
013dc89f 480`cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
c2993fe5
DM
481
482The drive's cache mode
483
013dc89f 484`cyls`=`<integer>` ;;
c2993fe5
DM
485
486Force the drive's physical geometry to have a specific cylinder count.
487
013dc89f 488`detect_zeroes`=`<boolean>` ;;
c2993fe5
DM
489
490Controls whether to detect and try to optimize writes of zeroes.
491
013dc89f 492`discard`=`<ignore | on>` ;;
c2993fe5
DM
493
494Controls whether to pass discard/trim requests to the underlying storage.
495
496`file`=`<volume>` ;;
497
498The drive's backing volume.
499
013dc89f 500`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
c2993fe5
DM
501
502The drive's backing file's data format.
503
013dc89f 504`heads`=`<integer>` ;;
c2993fe5
DM
505
506Force the drive's physical geometry to have a specific head count.
507
508`iops`=`<iops>` ;;
509
de0983cb 510Maximum r/w I/O in operations per second.
c2993fe5
DM
511
512`iops_max`=`<iops>` ;;
513
de0983cb
DM
514Maximum unthrottled r/w I/O pool in operations per second.
515
516`iops_max_length`=`<seconds>` ;;
517
518Maximum length of I/O bursts in seconds.
c2993fe5
DM
519
520`iops_rd`=`<iops>` ;;
521
de0983cb
DM
522Maximum read I/O in operations per second.
523
524`iops_rd_length`=`<seconds>` ;;
525
526Maximum length of read I/O bursts in seconds.
c2993fe5
DM
527
528`iops_rd_max`=`<iops>` ;;
529
de0983cb 530Maximum unthrottled read I/O pool in operations per second.
c2993fe5
DM
531
532`iops_wr`=`<iops>` ;;
533
de0983cb
DM
534Maximum write I/O in operations per second.
535
536`iops_wr_length`=`<seconds>` ;;
537
538Maximum length of write I/O bursts in seconds.
c2993fe5
DM
539
540`iops_wr_max`=`<iops>` ;;
541
de0983cb 542Maximum unthrottled write I/O pool in operations per second.
c2993fe5
DM
543
544`mbps`=`<mbps>` ;;
545
de0983cb 546Maximum r/w speed in megabytes per second.
c2993fe5
DM
547
548`mbps_max`=`<mbps>` ;;
549
de0983cb 550Maximum unthrottled r/w pool in megabytes per second.
c2993fe5
DM
551
552`mbps_rd`=`<mbps>` ;;
553
de0983cb 554Maximum read speed in megabytes per second.
c2993fe5
DM
555
556`mbps_rd_max`=`<mbps>` ;;
557
de0983cb 558Maximum unthrottled read pool in megabytes per second.
c2993fe5
DM
559
560`mbps_wr`=`<mbps>` ;;
561
de0983cb 562Maximum write speed in megabytes per second.
c2993fe5
DM
563
564`mbps_wr_max`=`<mbps>` ;;
565
de0983cb 566Maximum unthrottled write pool in megabytes per second.
c2993fe5 567
013dc89f 568`media`=`<cdrom | disk>` ('default =' `disk`);;
c2993fe5
DM
569
570The drive's media type.
571
013dc89f 572`rerror`=`<ignore | report | stop>` ;;
c2993fe5
DM
573
574Read error action.
575
013dc89f 576`secs`=`<integer>` ;;
c2993fe5
DM
577
578Force the drive's physical geometry to have a specific sector count.
579
580`serial`=`<serial>` ;;
581
582The drive's reported serial number, url-encoded, up to 20 bytes long.
583
584`size`=`<DiskSize>` ;;
585
586Disk size. This is purely informational and has no effect.
587
013dc89f 588`snapshot`=`<boolean>` ;;
c2993fe5
DM
589
590Whether the drive should be included when making snapshots.
591
013dc89f 592`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
593
594Force disk geometry bios translation mode.
595
013dc89f 596`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
597
598Write error action.
599
52e44c50 600`scsi[n]`: `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_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_length=<seconds>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_length=<seconds>] [,iops_wr_max=<iops>] [,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>] [,scsiblock=<1|0>] [,secs=<integer>] [,serial=<serial>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
6ec3cd20
DM
601
602Use volume as SCSI hard disk or CD-ROM (n is 0 to 13).
603
013dc89f 604`aio`=`<native | threads>` ;;
c2993fe5
DM
605
606AIO type to use.
607
013dc89f 608`backup`=`<boolean>` ;;
c2993fe5
DM
609
610Whether the drive should be included when making backups.
611
612`bps`=`<bps>` ;;
613
de0983cb
DM
614Maximum r/w speed in bytes per second.
615
616`bps_max_length`=`<seconds>` ;;
617
618Maximum length of I/O bursts in seconds.
c2993fe5
DM
619
620`bps_rd`=`<bps>` ;;
621
de0983cb
DM
622Maximum read speed in bytes per second.
623
624`bps_rd_length`=`<seconds>` ;;
625
626Maximum length of read I/O bursts in seconds.
c2993fe5
DM
627
628`bps_wr`=`<bps>` ;;
629
de0983cb
DM
630Maximum write speed in bytes per second.
631
632`bps_wr_length`=`<seconds>` ;;
633
634Maximum length of write I/O bursts in seconds.
c2993fe5 635
013dc89f 636`cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
c2993fe5
DM
637
638The drive's cache mode
639
013dc89f 640`cyls`=`<integer>` ;;
c2993fe5
DM
641
642Force the drive's physical geometry to have a specific cylinder count.
643
013dc89f 644`detect_zeroes`=`<boolean>` ;;
c2993fe5
DM
645
646Controls whether to detect and try to optimize writes of zeroes.
647
013dc89f 648`discard`=`<ignore | on>` ;;
c2993fe5
DM
649
650Controls whether to pass discard/trim requests to the underlying storage.
651
652`file`=`<volume>` ;;
653
654The drive's backing volume.
655
013dc89f 656`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
c2993fe5
DM
657
658The drive's backing file's data format.
659
013dc89f 660`heads`=`<integer>` ;;
c2993fe5
DM
661
662Force the drive's physical geometry to have a specific head count.
663
664`iops`=`<iops>` ;;
665
de0983cb 666Maximum r/w I/O in operations per second.
c2993fe5
DM
667
668`iops_max`=`<iops>` ;;
669
de0983cb
DM
670Maximum unthrottled r/w I/O pool in operations per second.
671
672`iops_max_length`=`<seconds>` ;;
673
674Maximum length of I/O bursts in seconds.
c2993fe5
DM
675
676`iops_rd`=`<iops>` ;;
677
de0983cb
DM
678Maximum read I/O in operations per second.
679
680`iops_rd_length`=`<seconds>` ;;
681
682Maximum length of read I/O bursts in seconds.
c2993fe5
DM
683
684`iops_rd_max`=`<iops>` ;;
685
de0983cb 686Maximum unthrottled read I/O pool in operations per second.
c2993fe5
DM
687
688`iops_wr`=`<iops>` ;;
689
de0983cb
DM
690Maximum write I/O in operations per second.
691
692`iops_wr_length`=`<seconds>` ;;
693
694Maximum length of write I/O bursts in seconds.
c2993fe5
DM
695
696`iops_wr_max`=`<iops>` ;;
697
de0983cb 698Maximum unthrottled write I/O pool in operations per second.
c2993fe5 699
013dc89f 700`iothread`=`<boolean>` ;;
c2993fe5
DM
701
702Whether to use iothreads for this drive
703
704`mbps`=`<mbps>` ;;
705
de0983cb 706Maximum r/w speed in megabytes per second.
c2993fe5
DM
707
708`mbps_max`=`<mbps>` ;;
709
de0983cb 710Maximum unthrottled r/w pool in megabytes per second.
c2993fe5
DM
711
712`mbps_rd`=`<mbps>` ;;
713
de0983cb 714Maximum read speed in megabytes per second.
c2993fe5
DM
715
716`mbps_rd_max`=`<mbps>` ;;
717
de0983cb 718Maximum unthrottled read pool in megabytes per second.
c2993fe5
DM
719
720`mbps_wr`=`<mbps>` ;;
721
de0983cb 722Maximum write speed in megabytes per second.
c2993fe5
DM
723
724`mbps_wr_max`=`<mbps>` ;;
725
de0983cb 726Maximum unthrottled write pool in megabytes per second.
c2993fe5 727
013dc89f 728`media`=`<cdrom | disk>` ('default =' `disk`);;
c2993fe5
DM
729
730The drive's media type.
731
013dc89f 732`queues`=`<integer> (2 - N)` ;;
c2993fe5
DM
733
734Number of queues.
735
52e44c50
FG
736`scsiblock`=`<boolean>` ('default =' `0`);;
737
738whether to use scsi-block for full passthrough of host block device
739+
740WARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host
741
013dc89f 742`secs`=`<integer>` ;;
c2993fe5
DM
743
744Force the drive's physical geometry to have a specific sector count.
745
746`serial`=`<serial>` ;;
747
748The drive's reported serial number, url-encoded, up to 20 bytes long.
749
750`size`=`<DiskSize>` ;;
751
752Disk size. This is purely informational and has no effect.
753
013dc89f 754`snapshot`=`<boolean>` ;;
c2993fe5
DM
755
756Whether the drive should be included when making snapshots.
757
013dc89f 758`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
759
760Force disk geometry bios translation mode.
761
013dc89f 762`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
763
764Write error action.
765
013dc89f 766`scsihw`: `<lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single>` ('default =' `lsi`)::
6ec3cd20 767
c2993fe5 768SCSI controller model
6ec3cd20
DM
769
770`serial[n]`: `(/dev/.+|socket)` ::
771
c2993fe5
DM
772Create a serial device inside the VM (n is 0 to 3), and pass through a
773host serial device (i.e. /dev/ttyS0), or create a unix socket on the
774host side (use 'qm terminal' to open a terminal connection).
775+
776NOTE: If you pass through a host serial device, it is no longer possible to migrate such machines - use with special care.
6ec3cd20 777+
c2993fe5 778CAUTION: Experimental! User reported problems with this option.
6ec3cd20 779
013dc89f 780`shares`: `<integer> (0 - 50000)` ('default =' `1000`)::
6ec3cd20 781
c2993fe5 782Amount 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 783
f004f5b9 784`smbios1`: `[family=<string>] [,manufacturer=<string>] [,product=<string>] [,serial=<string>] [,sku=<string>] [,uuid=<UUID>] [,version=<string>]` ::
6ec3cd20
DM
785
786Specify SMBIOS type 1 fields.
787
c2993fe5
DM
788`family`=`<string>` ;;
789
790Set SMBIOS1 family string.
791
792`manufacturer`=`<string>` ;;
793
794Set SMBIOS1 manufacturer.
795
796`product`=`<string>` ;;
797
798Set SMBIOS1 product ID.
799
800`serial`=`<string>` ;;
801
802Set SMBIOS1 serial number.
803
804`sku`=`<string>` ;;
805
806Set SMBIOS1 SKU string.
807
808`uuid`=`<UUID>` ;;
809
810Set SMBIOS1 UUID.
811
812`version`=`<string>` ;;
813
814Set SMBIOS1 version.
815
013dc89f 816`smp`: `<integer> (1 - N)` ('default =' `1`)::
6ec3cd20
DM
817
818The number of CPUs. Please use option -sockets instead.
819
013dc89f 820`sockets`: `<integer> (1 - N)` ('default =' `1`)::
6ec3cd20
DM
821
822The number of CPU sockets.
823
013dc89f 824`startdate`: `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
6ec3cd20 825
c2993fe5 826Set 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
827
828`startup`: `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
829
c2993fe5 830Startup 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 831
013dc89f 832`tablet`: `<boolean>` ('default =' `1`)::
6ec3cd20 833
c2993fe5 834Enable/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 835
013dc89f 836`tdf`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
837
838Enable/disable time drift fix.
839
013dc89f 840`template`: `<boolean>` ('default =' `0`)::
6ec3cd20
DM
841
842Enable/disable Template.
843
013dc89f 844`unused[n]`: `<string>` ::
6ec3cd20 845
c2993fe5 846Reference to unused volumes. This is used internally, and should not be modified manually.
6ec3cd20 847
f004f5b9 848`usb[n]`: `[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]` ::
6ec3cd20 849
c2993fe5
DM
850Configure an USB device (n is 0 to 4).
851
852`host`=`<HOSTUSBDEVICE|spice>` ;;
853
854The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:
6ec3cd20 855+
c2993fe5
DM
856 'bus-port(.port)*' (decimal numbers) or
857 'vendor_id:product_id' (hexadeciaml numbers) or
858 'spice'
6ec3cd20
DM
859+
860You can use the 'lsusb -t' command to list existing usb devices.
861+
c2993fe5 862NOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
6ec3cd20
DM
863+
864The value 'spice' can be used to add a usb redirection devices for spice.
c2993fe5 865
013dc89f 866`usb3`=`<boolean>` ('default =' `0`);;
c2993fe5
DM
867
868Specifies 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 869
013dc89f 870`vcpus`: `<integer> (1 - N)` ('default =' `0`)::
6ec3cd20
DM
871
872Number of hotplugged vcpus.
873
013dc89f 874`vga`: `<cirrus | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | vmware>` ::
6ec3cd20 875
c2993fe5 876Select 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 877
013dc89f 878`virtio[n]`: `[file=]<volume> [,aio=<native|threads>] [,backup=<1|0>] [,bps=<bps>] [,bps_max_length=<seconds>] [,bps_rd=<bps>] [,bps_rd_length=<seconds>] [,bps_wr=<bps>] [,bps_wr_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_length=<seconds>] [,iops_rd_max=<iops>] [,iops_wr=<iops>] [,iops_wr_length=<seconds>] [,iops_wr_max=<iops>] [,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>] [,rerror=<ignore|report|stop>] [,secs=<integer>] [,serial=<serial>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
6ec3cd20
DM
879
880Use volume as VIRTIO hard disk (n is 0 to 15).
881
013dc89f 882`aio`=`<native | threads>` ;;
c2993fe5
DM
883
884AIO type to use.
885
013dc89f 886`backup`=`<boolean>` ;;
c2993fe5
DM
887
888Whether the drive should be included when making backups.
889
890`bps`=`<bps>` ;;
891
de0983cb
DM
892Maximum r/w speed in bytes per second.
893
894`bps_max_length`=`<seconds>` ;;
895
896Maximum length of I/O bursts in seconds.
c2993fe5
DM
897
898`bps_rd`=`<bps>` ;;
899
de0983cb
DM
900Maximum read speed in bytes per second.
901
902`bps_rd_length`=`<seconds>` ;;
903
904Maximum length of read I/O bursts in seconds.
c2993fe5
DM
905
906`bps_wr`=`<bps>` ;;
907
de0983cb
DM
908Maximum write speed in bytes per second.
909
910`bps_wr_length`=`<seconds>` ;;
911
912Maximum length of write I/O bursts in seconds.
c2993fe5 913
013dc89f 914`cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
c2993fe5
DM
915
916The drive's cache mode
917
013dc89f 918`cyls`=`<integer>` ;;
c2993fe5
DM
919
920Force the drive's physical geometry to have a specific cylinder count.
921
013dc89f 922`detect_zeroes`=`<boolean>` ;;
c2993fe5
DM
923
924Controls whether to detect and try to optimize writes of zeroes.
925
013dc89f 926`discard`=`<ignore | on>` ;;
c2993fe5
DM
927
928Controls whether to pass discard/trim requests to the underlying storage.
929
930`file`=`<volume>` ;;
931
932The drive's backing volume.
933
013dc89f 934`format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
c2993fe5
DM
935
936The drive's backing file's data format.
937
013dc89f 938`heads`=`<integer>` ;;
c2993fe5
DM
939
940Force the drive's physical geometry to have a specific head count.
941
942`iops`=`<iops>` ;;
943
de0983cb 944Maximum r/w I/O in operations per second.
c2993fe5
DM
945
946`iops_max`=`<iops>` ;;
947
de0983cb
DM
948Maximum unthrottled r/w I/O pool in operations per second.
949
950`iops_max_length`=`<seconds>` ;;
951
952Maximum length of I/O bursts in seconds.
c2993fe5
DM
953
954`iops_rd`=`<iops>` ;;
955
de0983cb
DM
956Maximum read I/O in operations per second.
957
958`iops_rd_length`=`<seconds>` ;;
959
960Maximum length of read I/O bursts in seconds.
c2993fe5
DM
961
962`iops_rd_max`=`<iops>` ;;
963
de0983cb 964Maximum unthrottled read I/O pool in operations per second.
c2993fe5
DM
965
966`iops_wr`=`<iops>` ;;
967
de0983cb
DM
968Maximum write I/O in operations per second.
969
970`iops_wr_length`=`<seconds>` ;;
971
972Maximum length of write I/O bursts in seconds.
c2993fe5
DM
973
974`iops_wr_max`=`<iops>` ;;
975
de0983cb 976Maximum unthrottled write I/O pool in operations per second.
c2993fe5 977
013dc89f 978`iothread`=`<boolean>` ;;
c2993fe5
DM
979
980Whether to use iothreads for this drive
981
982`mbps`=`<mbps>` ;;
983
de0983cb 984Maximum r/w speed in megabytes per second.
c2993fe5
DM
985
986`mbps_max`=`<mbps>` ;;
987
de0983cb 988Maximum unthrottled r/w pool in megabytes per second.
c2993fe5
DM
989
990`mbps_rd`=`<mbps>` ;;
991
de0983cb 992Maximum read speed in megabytes per second.
c2993fe5
DM
993
994`mbps_rd_max`=`<mbps>` ;;
995
de0983cb 996Maximum unthrottled read pool in megabytes per second.
c2993fe5
DM
997
998`mbps_wr`=`<mbps>` ;;
999
de0983cb 1000Maximum write speed in megabytes per second.
c2993fe5
DM
1001
1002`mbps_wr_max`=`<mbps>` ;;
1003
de0983cb 1004Maximum unthrottled write pool in megabytes per second.
c2993fe5 1005
013dc89f 1006`media`=`<cdrom | disk>` ('default =' `disk`);;
c2993fe5
DM
1007
1008The drive's media type.
1009
013dc89f 1010`rerror`=`<ignore | report | stop>` ;;
c2993fe5
DM
1011
1012Read error action.
1013
013dc89f 1014`secs`=`<integer>` ;;
c2993fe5
DM
1015
1016Force the drive's physical geometry to have a specific sector count.
1017
1018`serial`=`<serial>` ;;
1019
1020The drive's reported serial number, url-encoded, up to 20 bytes long.
1021
1022`size`=`<DiskSize>` ;;
1023
1024Disk size. This is purely informational and has no effect.
1025
013dc89f 1026`snapshot`=`<boolean>` ;;
c2993fe5
DM
1027
1028Whether the drive should be included when making snapshots.
1029
013dc89f 1030`trans`=`<auto | lba | none>` ;;
c2993fe5
DM
1031
1032Force disk geometry bios translation mode.
1033
013dc89f 1034`werror`=`<enospc | ignore | report | stop>` ;;
c2993fe5
DM
1035
1036Write error action.
1037
013dc89f 1038`watchdog`: `[[model=]<i6300esb|ib700>] [,action=<enum>]` ::
6ec3cd20 1039
c2993fe5
DM
1040Create 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)
1041
013dc89f 1042`action`=`<debug | none | pause | poweroff | reset | shutdown>` ;;
c2993fe5
DM
1043
1044The action to perform if after activation the guest fails to poll the watchdog in time.
1045
013dc89f 1046`model`=`<i6300esb | ib700>` ('default =' `i6300esb`);;
c2993fe5
DM
1047
1048Watchdog type to emulate.
6ec3cd20 1049