Re: [libvirt PATCH v2 12/14] virsh: Add --model option for hypervisor-cpu-baseline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Friday in 2022, Jiri Denemark wrote:
This option can be used as a shortcut for creating a single XML with
just a CPU model name and no features:

   $ virsh hypervisor-cpu-baseline --model Skylake-Server
   <cpu mode='custom' match='exact'>
     <model fallback='forbid'>Skylake-Server</model>
     <feature policy='disable' name='avx512f'/>
     <feature policy='disable' name='avx512dq'/>
     <feature policy='disable' name='clwb'/>
     <feature policy='disable' name='avx512cd'/>
     <feature policy='disable' name='avx512bw'/>
     <feature policy='disable' name='avx512vl'/>
     <feature policy='disable' name='pku'/>
   </cpu>

Signed-off-by: Jiri Denemark <jdenemar@xxxxxxxxxx>
---

Notes:
   Version 2:
   - new patch

docs/manpages/virsh.rst | 14 +++++++++++---
tools/virsh-host.c      | 23 +++++++++++++++++++----
tools/virsh.h           |  7 +++++--
tools/vsh.h             | 27 +++++++++++++++++++++++++++
4 files changed, 62 insertions(+), 9 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux