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 <jdene...@redhat.com>
---

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 <jto...@redhat.com>

Jano

Reply via email to