Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

F OpenNebula/one#1636: KVM_CPU_FEATURES documentation #2669

Merged
merged 2 commits into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion source/intro_release_notes/release_notes/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ OpenNebula Core
- Add ``sched-action`` and ``sg-attach`` to :ref:`VM Operation Permissions <oned_conf_vm_operations>`.
- `Add VCPU to VMs pool list <https://github.com/OpenNebula/one/issues/6111>`__. If you are upgrading from previous version, the ``VCPU`` will apear after first update of the VM. Use ``onevm update <vm_id> --append <empty_file>`` to force VM update.
- The scheduler has been extended so it can contact external modules to accomodate custom allocation policies easily, :ref:`see the external scheduler guide for more information <external_scheduler>`.
- Deployment XML for libvirt will now generate feature tags for :ref:`CPU features defined in the VM Template under CPU_MODEL/FEATURES. <cpu_model_options_section>`
- ``CPU_MODEL/FEATURES`` will now be added to :ref:`the Automatic Requirements. <scheduling>`

Networking
================================================================================
Expand Down Expand Up @@ -48,7 +50,7 @@ CLI

KVM
================================================================================
- `Feature 1 <https://github.com/OpenNebula/one/issues/1234>`__.
- Added a monitoring script to add ``KVM_CPU_FEATURES`` to the :ref:`Host Monitoring Information <hosts>`.

Other Issues Solved
================================================================================
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ To display information about a single Host, use the ``show`` command:
HYPERVISOR="kvm"
IM_MAD="kvm"
KVM_CPU_MODEL="Skylake-Client-noTSX-IBRS"
KVM_CPU_FEATURES="vme,ds,acpi,ss,ht,tm,pbe,dtes64,monitor,ds_cpl,vmx,smx,est,tm2,xtpr,pdcm,pcid,dca,osxsave,arat,md-clear,stibp,ssbd,xsaveopt,pdpe1gb,invtsc"
KVM_CPU_MODELS="486 pentium pentium2 pentium3 pentiumpro coreduo n270 core2duo qemu32 kvm32 cpu64-rhel5 cpu64-rhel6 qemu64 kvm64 Conroe Penryn Nehalem Nehalem-IBRS Westmere Westmere-IBRS SandyBridge SandyBridge-IBRS IvyBridge IvyBridge-IBRS Haswell-noTSX Haswell-noTSX-IBRS Haswell Haswell-IBRS Broadwell-noTSX Broadwell-noTSX-IBRS Broadwell Broadwell-IBRS Skylake-Client Skylake-Client-IBRS Skylake-Client-noTSX-IBRS Skylake-Server Skylake-Server-IBRS Skylake-Server-noTSX-IBRS Cascadelake-Server Cascadelake-Server-noTSX Icelake-Client Icelake-Client-noTSX Icelake-Server Icelake-Server-noTSX Cooperlake Snowridge athlon phenom Opteron_G1 Opteron_G2 Opteron_G3 Opteron_G4 Opteron_G5 EPYC EPYC-IBPB EPYC-Rome Dhyana"
KVM_MACHINES="pc-i440fx-5.2 pc pc-q35-5.2 q35 pc-i440fx-2.12 pc-i440fx-2.0 pc-q35-4.2 pc-i440fx-2.5 pc-i440fx-4.2 pc-i440fx-1.5 pc-q35-2.7 pc-i440fx-2.2 pc-1.1 pc-i440fx-2.7 pc-q35-2.4 pc-q35-2.10 pc-i440fx-1.7 pc-q35-5.1 pc-q35-2.9 pc-i440fx-2.11 pc-q35-3.1 pc-q35-4.1 pc-i440fx-2.4 pc-1.3 pc-i440fx-4.1 pc-i440fx-5.1 pc-i440fx-2.9 isapc pc-i440fx-1.4 pc-q35-2.6 pc-i440fx-3.1 pc-q35-2.12 pc-i440fx-2.1 pc-1.0 pc-i440fx-2.6 pc-q35-4.0.1 pc-i440fx-1.6 pc-q35-5.0 pc-q35-2.8 pc-i440fx-2.10 pc-q35-3.0 pc-q35-4.0 microvm pc-i440fx-2.3 pc-1.2 pc-i440fx-4.0 pc-i440fx-5.0 pc-i440fx-2.8 pc-q35-2.5 pc-i440fx-3.0 pc-q35-2.11"
MODELNAME="Intel(R) Core(TM) i7-10510U CPU @ 1.80GHz"
Expand Down
7 changes: 7 additions & 0 deletions source/management_and_operations/references/template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ Example, a VM booting from ``sda1`` with kernel ``/vmlinuz``:
ROOT = sda1,
KERNEL_CMD = "ro console=tty1"]

.. _cpu_model_options_section:

CPU_MODEL Options Section
================================================================================

Expand All @@ -218,6 +220,11 @@ This section (``CPU_MODEL``) configures the hardware configuration of the CPU ex
| | the same model as the host. Available modes are stored | | | |
| | in the host information and obtained through monitor. | | | |
+-------------------------+----------------------------------------------------------+-----+---------+---------+
| ``FEATURES`` | The CPU features required by the guest. This a comma | O | \- | \- |
| | separated value list of the CPU features that a virtual | | | |
| | machines. Available features are stored in the host | | | |
| | information and obtained through monitor. | | | |
+-------------------------+----------------------------------------------------------+-----+---------+---------+

.. _template_features:

Expand Down