These features are only recommended to be enabled since they improve performance of the VMs if security features are enabled. Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx> --- tests/cli-test-xml/compare/virt-install-qemu-plain.xml | 2 -- .../compare/virt-install-singleton-config-2.xml | 4 ---- virtinst/domcapabilities.py | 6 +----- 3 files changed, 1 insertion(+), 11 deletions(-) diff --git a/tests/cli-test-xml/compare/virt-install-qemu-plain.xml b/tests/cli-test-xml/compare/virt-install-qemu-plain.xml index eb1542c3..d00e0cf4 100644 --- a/tests/cli-test-xml/compare/virt-install-qemu-plain.xml +++ b/tests/cli-test-xml/compare/virt-install-qemu-plain.xml @@ -20,8 +20,6 @@ </features> <cpu mode="custom" match="exact"> <model>Penryn</model> - <feature policy="require" name="pcid"/> - <feature policy="require" name="pdpe1gb"/> </cpu> <clock offset="utc"> <timer name="rtc" tickpolicy="catchup"/> diff --git a/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml b/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml index 0bc36089..08f9cbb7 100644 --- a/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml +++ b/tests/cli-test-xml/compare/virt-install-singleton-config-2.xml @@ -94,8 +94,6 @@ <model>foobar</model> <vendor>meee</vendor> <topology sockets="2" cores="2" threads="2"/> - <feature policy="require" name="pcid"/> - <feature policy="require" name="pdpe1gb"/> <feature policy="force" name="x2apic"/> <feature policy="force" name="x2apicagain"/> <feature policy="require" name="reqtest"/> @@ -291,8 +289,6 @@ <model>foobar</model> <vendor>meee</vendor> <topology sockets="2" cores="2" threads="2"/> - <feature policy="require" name="pcid"/> - <feature policy="require" name="pdpe1gb"/> <feature policy="force" name="x2apic"/> <feature policy="force" name="x2apicagain"/> <feature policy="require" name="reqtest"/> diff --git a/virtinst/domcapabilities.py b/virtinst/domcapabilities.py index d1b0f4ed..72844512 100644 --- a/virtinst/domcapabilities.py +++ b/virtinst/domcapabilities.py @@ -274,14 +274,10 @@ class DomainCapabilities(XMLBuilder): def get_cpu_security_features(self): sec_features = [ - 'pcid', 'spec-ctrl', 'ssbd', - 'pdpe1gb', 'ibpb', - 'virt-ssbd', - 'amd-ssbd', - 'amd-no-ssb'] + 'virt-ssbd'] features = [] -- 2.20.1 _______________________________________________ virt-tools-list mailing list virt-tools-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/virt-tools-list