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