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