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