]> git.proxmox.com Git - pve-docs.git/blame - cpu-models.conf.adoc
vzdump: add section about backup fleecing
[pve-docs.git] / cpu-models.conf.adoc
CommitLineData
9e797d8c
SR
1ifdef::manvolnum[]
2cpu-models.conf(5)
3==================
4:pve-toplevel:
5
6NAME
7----
8
9cpu-models.conf - Custom CPU model configuration file
10
11
12SYNOPSIS
13--------
14
15'/etc/pve/virtual-guest/cpu-models.conf'
16
17
18DESCRIPTION
19-----------
20endif::manvolnum[]
21
22ifndef::manvolnum[]
23Custom CPU Model Configuration
24==============================
25endif::manvolnum[]
26ifdef::wiki[]
27:pve-toplevel:
28:title: Manual: cpu-models.conf
29endif::wiki[]
30
31The `/etc/pve/virtual-guest/cpu-models.conf` file stores custom CPU
32models, which can be used by VMs to get access to advanced CPU
33features (for example custom CPU flags).
34
35
36File Format
37-----------
38
39CPU models each have their own section in the file, beginning with
40the header:
41
42 cpu-model: <name>
43
44Note that <name> does not include the 'custom-' prefix, which is
45required in VM configs to denote custom CPU models.
46
47For example, if the <name> is 'foobar', the CPU for a VM would need to be
48configured as 'custom-foobar'.
49
50Each section can specify several options. They are indented by either one TAB
51character or multiple spaces. Every option and its value is separated by one
52space, for example:
53
54 reported-model qemu64
55
56See below for all available options.
57
58Blank lines and those starting with a `#` are ignored.
59
60
61Options
62-------
63
64include::cpu-models.conf.5-opts.adoc[]
65
66
67Example File
68------------
69
70----
71cpu-model: avx
72 flags +avx;+avx2
73 phys-bits host
74 hidden 0
75 hv-vendor-id proxmox
76 reported-model kvm64
77----
78
79
80ifdef::manvolnum[]
81include::pve-copyright.adoc[]
82endif::manvolnum[]