You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

qm.conf.5-opts.adoc 36KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251
  1. `acpi`: `<boolean>` ('default =' `1`)::
  2. Enable/disable ACPI.
  3. `agent`: `[enabled=]<1|0> [,fstrim_cloned_disks=<1|0>]` ::
  4. Enable/disable Qemu GuestAgent and its properties.
  5. `enabled`=`<boolean>` ('default =' `0`);;
  6. Enable/disable Qemu GuestAgent.
  7. `fstrim_cloned_disks`=`<boolean>` ('default =' `0`);;
  8. Run fstrim after cloning/moving a disk.
  9. `arch`: `<aarch64 | x86_64>` ::
  10. Virtual processor architecture. Defaults to the host.
  11. `args`: `<string>` ::
  12. Arbitrary arguments passed to kvm, for example:
  13. +
  14. args: -no-reboot -no-hpet
  15. +
  16. NOTE: this option is for experts only.
  17. `autostart`: `<boolean>` ('default =' `0`)::
  18. Automatic restart after crash (currently ignored).
  19. `balloon`: `<integer> (0 - N)` ::
  20. Amount of target RAM for the VM in MB. Using zero disables the ballon driver.
  21. `bios`: `<ovmf | seabios>` ('default =' `seabios`)::
  22. Select BIOS implementation.
  23. `boot`: `[acdn]{1,4}` ('default =' `cdn`)::
  24. Boot on floppy (a), hard disk (c), CD-ROM (d), or network (n).
  25. `bootdisk`: `(ide|sata|scsi|virtio)\d+` ::
  26. Enable booting from specified disk.
  27. `cdrom`: `<volume>` ::
  28. This is an alias for option -ide2
  29. `cicustom`: `[meta=<volume>] [,network=<volume>] [,user=<volume>]` ::
  30. cloud-init: Specify custom files to replace the automatically generated ones at start.
  31. `meta`=`<volume>` ;;
  32. Specify a custom file containing all meta data passed to the VM via cloud-init. This is provider specific meaning configdrive2 and nocloud differ.
  33. `network`=`<volume>` ;;
  34. Specify a custom file containing all network data passed to the VM via cloud-init.
  35. `user`=`<volume>` ;;
  36. Specify a custom file containing all user data passed to the VM via cloud-init.
  37. `cipassword`: `<string>` ::
  38. cloud-init: Password to assign the user. Using this is generally not recommended. Use ssh keys instead. Also note that older cloud-init versions do not support hashed passwords.
  39. `citype`: `<configdrive2 | nocloud>` ::
  40. Specifies the cloud-init configuration format. The default depends on the configured operating system type (`ostype`. We use the `nocloud` format for Linux, and `configdrive2` for windows.
  41. `ciuser`: `<string>` ::
  42. cloud-init: User name to change ssh keys and password for instead of the image's configured default user.
  43. `cores`: `<integer> (1 - N)` ('default =' `1`)::
  44. The number of cores per socket.
  45. `cpu`: `[cputype=]<enum> [,flags=<+FLAG[;-FLAG...]>] [,hidden=<1|0>] [,hv-vendor-id=<vendor-id>]` ::
  46. Emulated CPU type.
  47. `cputype`=`<486 | Broadwell | Broadwell-IBRS | Broadwell-noTSX | Broadwell-noTSX-IBRS | Conroe | EPYC | EPYC-IBPB | Haswell | Haswell-IBRS | Haswell-noTSX | Haswell-noTSX-IBRS | IvyBridge | IvyBridge-IBRS | Nehalem | Nehalem-IBRS | Opteron_G1 | Opteron_G2 | Opteron_G3 | Opteron_G4 | Opteron_G5 | Penryn | SandyBridge | SandyBridge-IBRS | Skylake-Client | Skylake-Client-IBRS | Skylake-Server | Skylake-Server-IBRS | Westmere | Westmere-IBRS | athlon | core2duo | coreduo | host | kvm32 | kvm64 | max | pentium | pentium2 | pentium3 | phenom | qemu32 | qemu64>` ('default =' `kvm64`);;
  48. Emulated CPU type.
  49. `flags`=`<+FLAG[;-FLAG...]>` ;;
  50. List of additional CPU flags separated by ';'. Use '+FLAG' to enable, '-FLAG' to disable a flag. Currently supported flags: 'pcid', 'spec-ctrl', 'ibpb', 'ssbd', 'virt-ssbd', 'amd-ssbd', 'amd-no-ssb', 'pdpe1gb', 'md-clear'.
  51. `hidden`=`<boolean>` ('default =' `0`);;
  52. Do not identify as a KVM virtual machine.
  53. `hv-vendor-id`=`<vendor-id>` ;;
  54. The Hyper-V vendor ID. Some drivers or programs inside Windows guests need a specific ID.
  55. `cpulimit`: `<number> (0 - 128)` ('default =' `0`)::
  56. Limit of CPU usage.
  57. +
  58. NOTE: If the computer has 2 CPUs, it has total of '2' CPU time. Value '0' indicates no CPU limit.
  59. `cpuunits`: `<integer> (2 - 262144)` ('default =' `1024`)::
  60. 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.
  61. `description`: `<string>` ::
  62. Description for the VM. Only used on the configuration web interface. This is saved as comment inside the configuration file.
  63. `efidisk0`: `[file=]<volume> [,format=<enum>] [,size=<DiskSize>]` ::
  64. Configure a Disk for storing EFI vars
  65. `file`=`<volume>` ;;
  66. The drive's backing volume.
  67. `format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
  68. The drive's backing file's data format.
  69. `size`=`<DiskSize>` ;;
  70. Disk size. This is purely informational and has no effect.
  71. `freeze`: `<boolean>` ::
  72. Freeze CPU at startup (use 'c' monitor command to start execution).
  73. `hookscript`: `<string>` ::
  74. Script that will be executed during various steps in the vms lifetime.
  75. `hostpci[n]`: `[host=]<HOSTPCIID[;HOSTPCIID2...]> [,mdev=<string>] [,pcie=<1|0>] [,rombar=<1|0>] [,romfile=<string>] [,x-vga=<1|0>]` ::
  76. Map host PCI devices into guest.
  77. +
  78. NOTE: This option allows direct access to host hardware. So it is no longer
  79. possible to migrate such machines - use with special care.
  80. +
  81. CAUTION: Experimental! User reported problems with this option.
  82. `host`=`<HOSTPCIID[;HOSTPCIID2...]>` ;;
  83. Host PCI device pass through. The PCI ID of a host's PCI device or a list
  84. of PCI virtual functions of the host. HOSTPCIID syntax is:
  85. +
  86. 'bus:dev.func' (hexadecimal numbers)
  87. +
  88. You can us the 'lspci' command to list existing PCI devices.
  89. `mdev`=`<string>` ;;
  90. The type of mediated device to use.
  91. An instance of this type will be created on startup of the VM and
  92. will be cleaned up when the VM stops.
  93. `pcie`=`<boolean>` ('default =' `0`);;
  94. Choose the PCI-express bus (needs the 'q35' machine model).
  95. `rombar`=`<boolean>` ('default =' `1`);;
  96. Specify whether or not the device's ROM will be visible in the guest's memory map.
  97. `romfile`=`<string>` ;;
  98. Custom pci device rom filename (must be located in /usr/share/kvm/).
  99. `x-vga`=`<boolean>` ('default =' `0`);;
  100. Enable vfio-vga device support.
  101. `hotplug`: `<string>` ('default =' `network,disk,usb`)::
  102. 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'.
  103. `hugepages`: `<1024 | 2 | any>` ::
  104. Enable/disable hugepages memory.
  105. `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>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]` ::
  106. Use volume as IDE hard disk or CD-ROM (n is 0 to 3).
  107. `aio`=`<native | threads>` ;;
  108. AIO type to use.
  109. `backup`=`<boolean>` ;;
  110. Whether the drive should be included when making backups.
  111. `bps`=`<bps>` ;;
  112. Maximum r/w speed in bytes per second.
  113. `bps_max_length`=`<seconds>` ;;
  114. Maximum length of I/O bursts in seconds.
  115. `bps_rd`=`<bps>` ;;
  116. Maximum read speed in bytes per second.
  117. `bps_rd_max_length`=`<seconds>` ;;
  118. Maximum length of read I/O bursts in seconds.
  119. `bps_wr`=`<bps>` ;;
  120. Maximum write speed in bytes per second.
  121. `bps_wr_max_length`=`<seconds>` ;;
  122. Maximum length of write I/O bursts in seconds.
  123. `cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
  124. The drive's cache mode
  125. `cyls`=`<integer>` ;;
  126. Force the drive's physical geometry to have a specific cylinder count.
  127. `detect_zeroes`=`<boolean>` ;;
  128. Controls whether to detect and try to optimize writes of zeroes.
  129. `discard`=`<ignore | on>` ;;
  130. Controls whether to pass discard/trim requests to the underlying storage.
  131. `file`=`<volume>` ;;
  132. The drive's backing volume.
  133. `format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
  134. The drive's backing file's data format.
  135. `heads`=`<integer>` ;;
  136. Force the drive's physical geometry to have a specific head count.
  137. `iops`=`<iops>` ;;
  138. Maximum r/w I/O in operations per second.
  139. `iops_max`=`<iops>` ;;
  140. Maximum unthrottled r/w I/O pool in operations per second.
  141. `iops_max_length`=`<seconds>` ;;
  142. Maximum length of I/O bursts in seconds.
  143. `iops_rd`=`<iops>` ;;
  144. Maximum read I/O in operations per second.
  145. `iops_rd_max`=`<iops>` ;;
  146. Maximum unthrottled read I/O pool in operations per second.
  147. `iops_rd_max_length`=`<seconds>` ;;
  148. Maximum length of read I/O bursts in seconds.
  149. `iops_wr`=`<iops>` ;;
  150. Maximum write I/O in operations per second.
  151. `iops_wr_max`=`<iops>` ;;
  152. Maximum unthrottled write I/O pool in operations per second.
  153. `iops_wr_max_length`=`<seconds>` ;;
  154. Maximum length of write I/O bursts in seconds.
  155. `mbps`=`<mbps>` ;;
  156. Maximum r/w speed in megabytes per second.
  157. `mbps_max`=`<mbps>` ;;
  158. Maximum unthrottled r/w pool in megabytes per second.
  159. `mbps_rd`=`<mbps>` ;;
  160. Maximum read speed in megabytes per second.
  161. `mbps_rd_max`=`<mbps>` ;;
  162. Maximum unthrottled read pool in megabytes per second.
  163. `mbps_wr`=`<mbps>` ;;
  164. Maximum write speed in megabytes per second.
  165. `mbps_wr_max`=`<mbps>` ;;
  166. Maximum unthrottled write pool in megabytes per second.
  167. `media`=`<cdrom | disk>` ('default =' `disk`);;
  168. The drive's media type.
  169. `model`=`<model>` ;;
  170. The drive's reported model name, url-encoded, up to 40 bytes long.
  171. `replicate`=`<boolean>` ('default =' `1`);;
  172. Whether the drive should considered for replication jobs.
  173. `rerror`=`<ignore | report | stop>` ;;
  174. Read error action.
  175. `secs`=`<integer>` ;;
  176. Force the drive's physical geometry to have a specific sector count.
  177. `serial`=`<serial>` ;;
  178. The drive's reported serial number, url-encoded, up to 20 bytes long.
  179. `shared`=`<boolean>` ('default =' `0`);;
  180. Mark this locally-managed volume as available on all nodes.
  181. +
  182. WARNING: This option does not share the volume automatically, it assumes it is shared already!
  183. `size`=`<DiskSize>` ;;
  184. Disk size. This is purely informational and has no effect.
  185. `snapshot`=`<boolean>` ;;
  186. Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.
  187. `ssd`=`<boolean>` ;;
  188. Whether to expose this drive as an SSD, rather than a rotational hard disk.
  189. `trans`=`<auto | lba | none>` ;;
  190. Force disk geometry bios translation mode.
  191. `werror`=`<enospc | ignore | report | stop>` ;;
  192. Write error action.
  193. `wwn`=`<wwn>` ;;
  194. The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.
  195. `ipconfig[n]`: `[gw=<GatewayIPv4>] [,gw6=<GatewayIPv6>] [,ip=<IPv4Format/CIDR>] [,ip6=<IPv6Format/CIDR>]` ::
  196. cloud-init: Specify IP addresses and gateways for the corresponding interface.
  197. +
  198. IP addresses use CIDR notation, gateways are optional but need an IP of the same type specified.
  199. +
  200. The special string 'dhcp' can be used for IP addresses to use DHCP, in which case no explicit gateway should be provided.
  201. For IPv6 the special string 'auto' can be used to use stateless autoconfiguration.
  202. +
  203. If cloud-init is enabled and neither an IPv4 nor an IPv6 address is specified, it defaults to using dhcp on IPv4.
  204. `gw`=`<GatewayIPv4>` ;;
  205. Default gateway for IPv4 traffic.
  206. +
  207. NOTE: Requires option(s): `ip`
  208. `gw6`=`<GatewayIPv6>` ;;
  209. Default gateway for IPv6 traffic.
  210. +
  211. NOTE: Requires option(s): `ip6`
  212. `ip`=`<IPv4Format/CIDR>` ('default =' `dhcp`);;
  213. IPv4 address in CIDR format.
  214. `ip6`=`<IPv6Format/CIDR>` ('default =' `dhcp`);;
  215. IPv6 address in CIDR format.
  216. `ivshmem`: `size=<integer> [,name=<string>]` ::
  217. Inter-VM shared memory. Useful for direct communication between VMs, or to the host.
  218. `name`=`<string>` ;;
  219. The name of the file. Will be prefixed with 'pve-shm-'. Default is the VMID. Will be deleted when the VM is stopped.
  220. `size`=`<integer> (1 - N)` ;;
  221. The size of the file in MB.
  222. `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>` ::
  223. Keybord layout for vnc server. Default is read from the '/etc/pve/datacenter.cfg' configuration file.It should not be necessary to set it.
  224. `kvm`: `<boolean>` ('default =' `1`)::
  225. Enable/disable KVM hardware virtualization.
  226. `localtime`: `<boolean>` ::
  227. Set the real time clock to local time. This is enabled by default if ostype indicates a Microsoft OS.
  228. `lock`: `<backup | clone | create | migrate | rollback | snapshot | snapshot-delete | suspended | suspending>` ::
  229. Lock/unlock the VM.
  230. `machine`: `(pc|pc(-i440fx)?-\d+\.\d+(\.pxe)?|q35|pc-q35-\d+\.\d+(\.pxe)?|virt(?:-\d+\.\d+)?)` ::
  231. Specifies the Qemu machine type.
  232. `memory`: `<integer> (16 - N)` ('default =' `512`)::
  233. Amount of RAM for the VM in MB. This is the maximum available memory when you use the balloon device.
  234. `migrate_downtime`: `<number> (0 - N)` ('default =' `0.1`)::
  235. Set maximum tolerated downtime (in seconds) for migrations.
  236. `migrate_speed`: `<integer> (0 - N)` ('default =' `0`)::
  237. Set maximum speed (in MB/s) for migrations. Value 0 is no limit.
  238. `name`: `<string>` ::
  239. Set a name for the VM. Only used on the configuration web interface.
  240. `nameserver`: `<string>` ::
  241. cloud-init: Sets DNS server IP address for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.
  242. `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>]` ::
  243. Specify network devices.
  244. `bridge`=`<bridge>` ;;
  245. Bridge to attach the network device to. The Proxmox VE standard bridge
  246. is called 'vmbr0'.
  247. +
  248. If you do not specify a bridge, we create a kvm user (NATed) network
  249. device, which provides DHCP and DNS services. The following addresses
  250. are used:
  251. +
  252. 10.0.2.2 Gateway
  253. 10.0.2.3 DNS Server
  254. 10.0.2.4 SMB Server
  255. +
  256. The DHCP server assign addresses to the guest starting from 10.0.2.15.
  257. `firewall`=`<boolean>` ;;
  258. Whether this interface should be protected by the firewall.
  259. `link_down`=`<boolean>` ;;
  260. Whether this interface should be disconnected (like pulling the plug).
  261. `macaddr`=`<XX:XX:XX:XX:XX:XX>` ;;
  262. A common MAC address with the I/G (Individual/Group) bit not set.
  263. `model`=`<e1000 | e1000-82540em | e1000-82544gc | e1000-82545em | i82551 | i82557b | i82559er | ne2k_isa | ne2k_pci | pcnet | rtl8139 | virtio | vmxnet3>` ;;
  264. 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'.
  265. `queues`=`<integer> (0 - 16)` ;;
  266. Number of packet queues to be used on the device.
  267. `rate`=`<number> (0 - N)` ;;
  268. Rate limit in mbps (megabytes per second) as floating point number.
  269. `tag`=`<integer> (1 - 4094)` ;;
  270. VLAN tag to apply to packets on this interface.
  271. `trunks`=`<vlanid[;vlanid...]>` ;;
  272. VLAN trunks to pass through this interface.
  273. `numa`: `<boolean>` ('default =' `0`)::
  274. Enable/disable NUMA.
  275. `numa[n]`: `cpus=<id[-id];...> [,hostnodes=<id[-id];...>] [,memory=<number>] [,policy=<preferred|bind|interleave>]` ::
  276. NUMA topology.
  277. `cpus`=`<id[-id];...>` ;;
  278. CPUs accessing this NUMA node.
  279. `hostnodes`=`<id[-id];...>` ;;
  280. Host NUMA nodes to use.
  281. `memory`=`<number>` ;;
  282. Amount of memory this NUMA node provides.
  283. `policy`=`<bind | interleave | preferred>` ;;
  284. NUMA allocation policy.
  285. `onboot`: `<boolean>` ('default =' `0`)::
  286. Specifies whether a VM will be started during system bootup.
  287. `ostype`: `<l24 | l26 | other | solaris | w2k | w2k3 | w2k8 | win10 | win7 | win8 | wvista | wxp>` ::
  288. Specify guest operating system. This is used to enable special
  289. optimization/features for specific operating systems:
  290. +
  291. [horizontal]
  292. other;; unspecified OS
  293. wxp;; Microsoft Windows XP
  294. w2k;; Microsoft Windows 2000
  295. w2k3;; Microsoft Windows 2003
  296. w2k8;; Microsoft Windows 2008
  297. wvista;; Microsoft Windows Vista
  298. win7;; Microsoft Windows 7
  299. win8;; Microsoft Windows 8/2012/2012r2
  300. win10;; Microsoft Windows 10/2016
  301. l24;; Linux 2.4 Kernel
  302. l26;; Linux 2.6/3.X Kernel
  303. solaris;; Solaris/OpenSolaris/OpenIndiania kernel
  304. `parallel[n]`: `/dev/parport\d+|/dev/usb/lp\d+` ::
  305. Map host parallel devices (n is 0 to 2).
  306. +
  307. NOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
  308. +
  309. CAUTION: Experimental! User reported problems with this option.
  310. `protection`: `<boolean>` ('default =' `0`)::
  311. Sets the protection flag of the VM. This will disable the remove VM and remove disk operations.
  312. `reboot`: `<boolean>` ('default =' `1`)::
  313. Allow reboot. If set to '0' the VM exit on reboot.
  314. `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>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]` ::
  315. Use volume as SATA hard disk or CD-ROM (n is 0 to 5).
  316. `aio`=`<native | threads>` ;;
  317. AIO type to use.
  318. `backup`=`<boolean>` ;;
  319. Whether the drive should be included when making backups.
  320. `bps`=`<bps>` ;;
  321. Maximum r/w speed in bytes per second.
  322. `bps_max_length`=`<seconds>` ;;
  323. Maximum length of I/O bursts in seconds.
  324. `bps_rd`=`<bps>` ;;
  325. Maximum read speed in bytes per second.
  326. `bps_rd_max_length`=`<seconds>` ;;
  327. Maximum length of read I/O bursts in seconds.
  328. `bps_wr`=`<bps>` ;;
  329. Maximum write speed in bytes per second.
  330. `bps_wr_max_length`=`<seconds>` ;;
  331. Maximum length of write I/O bursts in seconds.
  332. `cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
  333. The drive's cache mode
  334. `cyls`=`<integer>` ;;
  335. Force the drive's physical geometry to have a specific cylinder count.
  336. `detect_zeroes`=`<boolean>` ;;
  337. Controls whether to detect and try to optimize writes of zeroes.
  338. `discard`=`<ignore | on>` ;;
  339. Controls whether to pass discard/trim requests to the underlying storage.
  340. `file`=`<volume>` ;;
  341. The drive's backing volume.
  342. `format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
  343. The drive's backing file's data format.
  344. `heads`=`<integer>` ;;
  345. Force the drive's physical geometry to have a specific head count.
  346. `iops`=`<iops>` ;;
  347. Maximum r/w I/O in operations per second.
  348. `iops_max`=`<iops>` ;;
  349. Maximum unthrottled r/w I/O pool in operations per second.
  350. `iops_max_length`=`<seconds>` ;;
  351. Maximum length of I/O bursts in seconds.
  352. `iops_rd`=`<iops>` ;;
  353. Maximum read I/O in operations per second.
  354. `iops_rd_max`=`<iops>` ;;
  355. Maximum unthrottled read I/O pool in operations per second.
  356. `iops_rd_max_length`=`<seconds>` ;;
  357. Maximum length of read I/O bursts in seconds.
  358. `iops_wr`=`<iops>` ;;
  359. Maximum write I/O in operations per second.
  360. `iops_wr_max`=`<iops>` ;;
  361. Maximum unthrottled write I/O pool in operations per second.
  362. `iops_wr_max_length`=`<seconds>` ;;
  363. Maximum length of write I/O bursts in seconds.
  364. `mbps`=`<mbps>` ;;
  365. Maximum r/w speed in megabytes per second.
  366. `mbps_max`=`<mbps>` ;;
  367. Maximum unthrottled r/w pool in megabytes per second.
  368. `mbps_rd`=`<mbps>` ;;
  369. Maximum read speed in megabytes per second.
  370. `mbps_rd_max`=`<mbps>` ;;
  371. Maximum unthrottled read pool in megabytes per second.
  372. `mbps_wr`=`<mbps>` ;;
  373. Maximum write speed in megabytes per second.
  374. `mbps_wr_max`=`<mbps>` ;;
  375. Maximum unthrottled write pool in megabytes per second.
  376. `media`=`<cdrom | disk>` ('default =' `disk`);;
  377. The drive's media type.
  378. `replicate`=`<boolean>` ('default =' `1`);;
  379. Whether the drive should considered for replication jobs.
  380. `rerror`=`<ignore | report | stop>` ;;
  381. Read error action.
  382. `secs`=`<integer>` ;;
  383. Force the drive's physical geometry to have a specific sector count.
  384. `serial`=`<serial>` ;;
  385. The drive's reported serial number, url-encoded, up to 20 bytes long.
  386. `shared`=`<boolean>` ('default =' `0`);;
  387. Mark this locally-managed volume as available on all nodes.
  388. +
  389. WARNING: This option does not share the volume automatically, it assumes it is shared already!
  390. `size`=`<DiskSize>` ;;
  391. Disk size. This is purely informational and has no effect.
  392. `snapshot`=`<boolean>` ;;
  393. Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.
  394. `ssd`=`<boolean>` ;;
  395. Whether to expose this drive as an SSD, rather than a rotational hard disk.
  396. `trans`=`<auto | lba | none>` ;;
  397. Force disk geometry bios translation mode.
  398. `werror`=`<enospc | ignore | report | stop>` ;;
  399. Write error action.
  400. `wwn`=`<wwn>` ;;
  401. The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.
  402. `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>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,ssd=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>] [,wwn=<wwn>]` ::
  403. Use volume as SCSI hard disk or CD-ROM (n is 0 to 13).
  404. `aio`=`<native | threads>` ;;
  405. AIO type to use.
  406. `backup`=`<boolean>` ;;
  407. Whether the drive should be included when making backups.
  408. `bps`=`<bps>` ;;
  409. Maximum r/w speed in bytes per second.
  410. `bps_max_length`=`<seconds>` ;;
  411. Maximum length of I/O bursts in seconds.
  412. `bps_rd`=`<bps>` ;;
  413. Maximum read speed in bytes per second.
  414. `bps_rd_max_length`=`<seconds>` ;;
  415. Maximum length of read I/O bursts in seconds.
  416. `bps_wr`=`<bps>` ;;
  417. Maximum write speed in bytes per second.
  418. `bps_wr_max_length`=`<seconds>` ;;
  419. Maximum length of write I/O bursts in seconds.
  420. `cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
  421. The drive's cache mode
  422. `cyls`=`<integer>` ;;
  423. Force the drive's physical geometry to have a specific cylinder count.
  424. `detect_zeroes`=`<boolean>` ;;
  425. Controls whether to detect and try to optimize writes of zeroes.
  426. `discard`=`<ignore | on>` ;;
  427. Controls whether to pass discard/trim requests to the underlying storage.
  428. `file`=`<volume>` ;;
  429. The drive's backing volume.
  430. `format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
  431. The drive's backing file's data format.
  432. `heads`=`<integer>` ;;
  433. Force the drive's physical geometry to have a specific head count.
  434. `iops`=`<iops>` ;;
  435. Maximum r/w I/O in operations per second.
  436. `iops_max`=`<iops>` ;;
  437. Maximum unthrottled r/w I/O pool in operations per second.
  438. `iops_max_length`=`<seconds>` ;;
  439. Maximum length of I/O bursts in seconds.
  440. `iops_rd`=`<iops>` ;;
  441. Maximum read I/O in operations per second.
  442. `iops_rd_max`=`<iops>` ;;
  443. Maximum unthrottled read I/O pool in operations per second.
  444. `iops_rd_max_length`=`<seconds>` ;;
  445. Maximum length of read I/O bursts in seconds.
  446. `iops_wr`=`<iops>` ;;
  447. Maximum write I/O in operations per second.
  448. `iops_wr_max`=`<iops>` ;;
  449. Maximum unthrottled write I/O pool in operations per second.
  450. `iops_wr_max_length`=`<seconds>` ;;
  451. Maximum length of write I/O bursts in seconds.
  452. `iothread`=`<boolean>` ;;
  453. Whether to use iothreads for this drive
  454. `mbps`=`<mbps>` ;;
  455. Maximum r/w speed in megabytes per second.
  456. `mbps_max`=`<mbps>` ;;
  457. Maximum unthrottled r/w pool in megabytes per second.
  458. `mbps_rd`=`<mbps>` ;;
  459. Maximum read speed in megabytes per second.
  460. `mbps_rd_max`=`<mbps>` ;;
  461. Maximum unthrottled read pool in megabytes per second.
  462. `mbps_wr`=`<mbps>` ;;
  463. Maximum write speed in megabytes per second.
  464. `mbps_wr_max`=`<mbps>` ;;
  465. Maximum unthrottled write pool in megabytes per second.
  466. `media`=`<cdrom | disk>` ('default =' `disk`);;
  467. The drive's media type.
  468. `queues`=`<integer> (2 - N)` ;;
  469. Number of queues.
  470. `replicate`=`<boolean>` ('default =' `1`);;
  471. Whether the drive should considered for replication jobs.
  472. `rerror`=`<ignore | report | stop>` ;;
  473. Read error action.
  474. `scsiblock`=`<boolean>` ('default =' `0`);;
  475. whether to use scsi-block for full passthrough of host block device
  476. +
  477. WARNING: can lead to I/O errors in combination with low memory or high memory fragmentation on host
  478. `secs`=`<integer>` ;;
  479. Force the drive's physical geometry to have a specific sector count.
  480. `serial`=`<serial>` ;;
  481. The drive's reported serial number, url-encoded, up to 20 bytes long.
  482. `shared`=`<boolean>` ('default =' `0`);;
  483. Mark this locally-managed volume as available on all nodes.
  484. +
  485. WARNING: This option does not share the volume automatically, it assumes it is shared already!
  486. `size`=`<DiskSize>` ;;
  487. Disk size. This is purely informational and has no effect.
  488. `snapshot`=`<boolean>` ;;
  489. Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.
  490. `ssd`=`<boolean>` ;;
  491. Whether to expose this drive as an SSD, rather than a rotational hard disk.
  492. `trans`=`<auto | lba | none>` ;;
  493. Force disk geometry bios translation mode.
  494. `werror`=`<enospc | ignore | report | stop>` ;;
  495. Write error action.
  496. `wwn`=`<wwn>` ;;
  497. The drive's worldwide name, encoded as 16 bytes hex string, prefixed by '0x'.
  498. `scsihw`: `<lsi | lsi53c810 | megasas | pvscsi | virtio-scsi-pci | virtio-scsi-single>` ('default =' `lsi`)::
  499. SCSI controller model
  500. `searchdomain`: `<string>` ::
  501. cloud-init: Sets DNS search domains for a container. Create will automatically use the setting from the host if neither searchdomain nor nameserver are set.
  502. `serial[n]`: `(/dev/.+|socket)` ::
  503. Create a serial device inside the VM (n is 0 to 3), and pass through a
  504. host serial device (i.e. /dev/ttyS0), or create a unix socket on the
  505. host side (use 'qm terminal' to open a terminal connection).
  506. +
  507. NOTE: If you pass through a host serial device, it is no longer possible to migrate such machines - use with special care.
  508. +
  509. CAUTION: Experimental! User reported problems with this option.
  510. `shares`: `<integer> (0 - 50000)` ('default =' `1000`)::
  511. 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. Auto-ballooning is done by pvestatd.
  512. `smbios1`: `[base64=<1|0>] [,family=<Base64 encoded string>] [,manufacturer=<Base64 encoded string>] [,product=<Base64 encoded string>] [,serial=<Base64 encoded string>] [,sku=<Base64 encoded string>] [,uuid=<UUID>] [,version=<Base64 encoded string>]` ::
  513. Specify SMBIOS type 1 fields.
  514. `base64`=`<boolean>` ;;
  515. Flag to indicate that the SMBIOS values are base64 encoded
  516. `family`=`<Base64 encoded string>` ;;
  517. Set SMBIOS1 family string.
  518. `manufacturer`=`<Base64 encoded string>` ;;
  519. Set SMBIOS1 manufacturer.
  520. `product`=`<Base64 encoded string>` ;;
  521. Set SMBIOS1 product ID.
  522. `serial`=`<Base64 encoded string>` ;;
  523. Set SMBIOS1 serial number.
  524. `sku`=`<Base64 encoded string>` ;;
  525. Set SMBIOS1 SKU string.
  526. `uuid`=`<UUID>` ;;
  527. Set SMBIOS1 UUID.
  528. `version`=`<Base64 encoded string>` ;;
  529. Set SMBIOS1 version.
  530. `smp`: `<integer> (1 - N)` ('default =' `1`)::
  531. The number of CPUs. Please use option -sockets instead.
  532. `sockets`: `<integer> (1 - N)` ('default =' `1`)::
  533. The number of CPU sockets.
  534. `sshkeys`: `<string>` ::
  535. cloud-init: Setup public SSH keys (one key per line, OpenSSH format).
  536. `startdate`: `(now | YYYY-MM-DD | YYYY-MM-DDTHH:MM:SS)` ('default =' `now`)::
  537. 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'.
  538. `startup`: `[[order=]\d+] [,up=\d+] [,down=\d+] ` ::
  539. 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.
  540. `tablet`: `<boolean>` ('default =' `1`)::
  541. 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).
  542. `tdf`: `<boolean>` ('default =' `0`)::
  543. Enable/disable time drift fix.
  544. `template`: `<boolean>` ('default =' `0`)::
  545. Enable/disable Template.
  546. `unused[n]`: `<string>` ::
  547. Reference to unused volumes. This is used internally, and should not be modified manually.
  548. `usb[n]`: `[host=]<HOSTUSBDEVICE|spice> [,usb3=<1|0>]` ::
  549. Configure an USB device (n is 0 to 4).
  550. `host`=`<HOSTUSBDEVICE|spice>` ;;
  551. The Host USB device or port or the value 'spice'. HOSTUSBDEVICE syntax is:
  552. +
  553. 'bus-port(.port)*' (decimal numbers) or
  554. 'vendor_id:product_id' (hexadeciaml numbers) or
  555. 'spice'
  556. +
  557. You can use the 'lsusb -t' command to list existing usb devices.
  558. +
  559. NOTE: This option allows direct access to host hardware. So it is no longer possible to migrate such machines - use with special care.
  560. +
  561. The value 'spice' can be used to add a usb redirection devices for spice.
  562. `usb3`=`<boolean>` ('default =' `0`);;
  563. 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).
  564. `vcpus`: `<integer> (1 - N)` ('default =' `0`)::
  565. Number of hotplugged vcpus.
  566. `vga`: `[[type=]<enum>] [,memory=<integer>]` ::
  567. Configure the VGA Hardware. If you want to use high resolution modes (>= 1280x1024x16) you may need to increase the vga memory option. Since QEMU 2.9 the default VGA display type is 'std' for all OS types besides some Windows versions (XP and older) which use 'cirrus'. The 'qxl' option enables the SPICE display server. For win* OS you can select how many independent displays you want, Linux guests can add displays them self.
  568. You can also run without any graphic card, using a serial device as terminal.
  569. `memory`=`<integer> (4 - 512)` ;;
  570. Sets the VGA memory (in MiB). Has no effect with serial display.
  571. `type`=`<cirrus | none | qxl | qxl2 | qxl3 | qxl4 | serial0 | serial1 | serial2 | serial3 | std | virtio | vmware>` ('default =' `std`);;
  572. Select the VGA type.
  573. `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>] [,shared=<1|0>] [,size=<DiskSize>] [,snapshot=<1|0>] [,trans=<none|lba|auto>] [,werror=<enum>]` ::
  574. Use volume as VIRTIO hard disk (n is 0 to 15).
  575. `aio`=`<native | threads>` ;;
  576. AIO type to use.
  577. `backup`=`<boolean>` ;;
  578. Whether the drive should be included when making backups.
  579. `bps`=`<bps>` ;;
  580. Maximum r/w speed in bytes per second.
  581. `bps_max_length`=`<seconds>` ;;
  582. Maximum length of I/O bursts in seconds.
  583. `bps_rd`=`<bps>` ;;
  584. Maximum read speed in bytes per second.
  585. `bps_rd_max_length`=`<seconds>` ;;
  586. Maximum length of read I/O bursts in seconds.
  587. `bps_wr`=`<bps>` ;;
  588. Maximum write speed in bytes per second.
  589. `bps_wr_max_length`=`<seconds>` ;;
  590. Maximum length of write I/O bursts in seconds.
  591. `cache`=`<directsync | none | unsafe | writeback | writethrough>` ;;
  592. The drive's cache mode
  593. `cyls`=`<integer>` ;;
  594. Force the drive's physical geometry to have a specific cylinder count.
  595. `detect_zeroes`=`<boolean>` ;;
  596. Controls whether to detect and try to optimize writes of zeroes.
  597. `discard`=`<ignore | on>` ;;
  598. Controls whether to pass discard/trim requests to the underlying storage.
  599. `file`=`<volume>` ;;
  600. The drive's backing volume.
  601. `format`=`<cloop | cow | qcow | qcow2 | qed | raw | vmdk>` ;;
  602. The drive's backing file's data format.
  603. `heads`=`<integer>` ;;
  604. Force the drive's physical geometry to have a specific head count.
  605. `iops`=`<iops>` ;;
  606. Maximum r/w I/O in operations per second.
  607. `iops_max`=`<iops>` ;;
  608. Maximum unthrottled r/w I/O pool in operations per second.
  609. `iops_max_length`=`<seconds>` ;;
  610. Maximum length of I/O bursts in seconds.
  611. `iops_rd`=`<iops>` ;;
  612. Maximum read I/O in operations per second.
  613. `iops_rd_max`=`<iops>` ;;
  614. Maximum unthrottled read I/O pool in operations per second.
  615. `iops_rd_max_length`=`<seconds>` ;;
  616. Maximum length of read I/O bursts in seconds.
  617. `iops_wr`=`<iops>` ;;
  618. Maximum write I/O in operations per second.
  619. `iops_wr_max`=`<iops>` ;;
  620. Maximum unthrottled write I/O pool in operations per second.
  621. `iops_wr_max_length`=`<seconds>` ;;
  622. Maximum length of write I/O bursts in seconds.
  623. `iothread`=`<boolean>` ;;
  624. Whether to use iothreads for this drive
  625. `mbps`=`<mbps>` ;;
  626. Maximum r/w speed in megabytes per second.
  627. `mbps_max`=`<mbps>` ;;
  628. Maximum unthrottled r/w pool in megabytes per second.
  629. `mbps_rd`=`<mbps>` ;;
  630. Maximum read speed in megabytes per second.
  631. `mbps_rd_max`=`<mbps>` ;;
  632. Maximum unthrottled read pool in megabytes per second.
  633. `mbps_wr`=`<mbps>` ;;
  634. Maximum write speed in megabytes per second.
  635. `mbps_wr_max`=`<mbps>` ;;
  636. Maximum unthrottled write pool in megabytes per second.
  637. `media`=`<cdrom | disk>` ('default =' `disk`);;
  638. The drive's media type.
  639. `replicate`=`<boolean>` ('default =' `1`);;
  640. Whether the drive should considered for replication jobs.
  641. `rerror`=`<ignore | report | stop>` ;;
  642. Read error action.
  643. `secs`=`<integer>` ;;
  644. Force the drive's physical geometry to have a specific sector count.
  645. `serial`=`<serial>` ;;
  646. The drive's reported serial number, url-encoded, up to 20 bytes long.
  647. `shared`=`<boolean>` ('default =' `0`);;
  648. Mark this locally-managed volume as available on all nodes.
  649. +
  650. WARNING: This option does not share the volume automatically, it assumes it is shared already!
  651. `size`=`<DiskSize>` ;;
  652. Disk size. This is purely informational and has no effect.
  653. `snapshot`=`<boolean>` ;;
  654. Controls qemu's snapshot mode feature. If activated, changes made to the disk are temporary and will be discarded when the VM is shutdown.
  655. `trans`=`<auto | lba | none>` ;;
  656. Force disk geometry bios translation mode.
  657. `werror`=`<enospc | ignore | report | stop>` ;;
  658. Write error action.
  659. `vmgenid`: `<UUID>` ('default =' `1 (autogenerated)`)::
  660. The VM generation ID (vmgenid) device exposes a 128-bit integer value identifier to the guest OS. This allows to notify the guest operating system when the virtual machine is executed with a different configuration (e.g. snapshot execution or creation from a template). The guest operating system notices the change, and is then able to react as appropriate by marking its copies of distributed databases as dirty, re-initializing its random number generator, etc.
  661. Note that auto-creation only works when done throug API/CLI create or update methods, but not when manually editing the config file.
  662. `vmstatestorage`: `<string>` ::
  663. Default storage for VM state volumes/files.
  664. `watchdog`: `[[model=]<i6300esb|ib700>] [,action=<enum>]` ::
  665. 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)
  666. `action`=`<debug | none | pause | poweroff | reset | shutdown>` ;;
  667. The action to perform if after activation the guest fails to poll the watchdog in time.
  668. `model`=`<i6300esb | ib700>` ('default =' `i6300esb`);;
  669. Watchdog type to emulate.