tests: include CPU security features in kvm q35 domcapabilities

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
Pavel Hrdina 2019-05-22 14:08:40 +02:00
parent 35c53fc02c
commit abda575e48
2 changed files with 6 additions and 1 deletions

View File

@ -20,7 +20,7 @@
<cpu>
<mode name='host-passthrough' supported='yes'/>
<mode name='host-model' supported='yes'>
<model fallback='forbid'>Skylake-Client</model>
<model fallback='forbid'>Skylake-Client-IBRS</model>
<vendor>Intel</vendor>
<feature policy='require' name='ss'/>
<feature policy='require' name='vmx'/>
@ -28,6 +28,7 @@
<feature policy='require' name='tsc_adjust'/>
<feature policy='require' name='clflushopt'/>
<feature policy='require' name='xsaves'/>
<feature policy='require' name='ssbd'/>
<feature policy='require' name='pdpe1gb'/>
<feature policy='require' name='invtsc'/>
</mode>

View File

@ -14,6 +14,8 @@
</features>
<cpu mode="custom" match="exact">
<model>qemu64</model>
<feature policy="require" name="spec-ctrl"/>
<feature policy="require" name="ssbd"/>
</cpu>
<clock offset="utc">
<timer name="rtc" tickpolicy="catchup"/>
@ -61,6 +63,8 @@
</features>
<cpu mode="custom" match="exact">
<model>qemu64</model>
<feature policy="require" name="spec-ctrl"/>
<feature policy="require" name="ssbd"/>
</cpu>
<clock offset="utc">
<timer name="rtc" tickpolicy="catchup"/>