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