Comment 2 for bug 1840745

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Pre Post capabilities on a new AMD system

ubuntu@riccioli:~$ diff -Naur old.c.xml new.c.xml
--- old.c.xml 2019-08-22 12:51:25.065200903 +0000
+++ new.c.xml 2019-08-22 12:52:08.042076692 +0000
@@ -26,6 +26,7 @@
       <feature name='perfctr_core'/>
       <feature name='perfctr_nb'/>
       <feature name='invtsc'/>
+ <feature name='amd-ssbd'/>
       <pages unit='KiB' size='4'/>
       <pages unit='KiB' size='2048'/>
       <pages unit='KiB' size='1048576'/>

domcapabilities
@@ -28,6 +28,7 @@
       <feature policy='require' name='clwb'/>
       <feature policy='require' name='cmp_legacy'/>
       <feature policy='require' name='invtsc'/>
+ <feature policy='require' name='amd-ssbd'/>
       <feature policy='disable' name='monitor'/>
     </mode>
     <mode name='custom' supported='yes'>

With that feature set I see
    <feature policy='require' name='amd-ssbd'/>
converted to
-cpu EPYC-IBPB,...,amd-ssbd=on
And the guest starts fine with it.

And the same way
    <feature policy='disable' name='amd-ssbd'/>
becomes
,amd-ssbd=off

Things seem fine, but as I got access I wanted to pre check this for the SRU.