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