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