target/i386: Allow MCDT_NO if host supports
commitba3709feaab44631315e02cd793cfccae4c6bd2a
authorTao Su <tao1.su@linux.intel.com>
Thu, 6 Jul 2023 05:49:46 +0000 (6 13:49 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 7 Jul 2023 10:52:27 +0000 (7 12:52 +0200)
tree3fd259f2cfcc7fad3fc40ae002bf16783230d1f7
parent9dd8b71091f47bac395f543779269c14d8d93c60
target/i386: Allow MCDT_NO if host supports

MCDT_NO bit indicates HW contains the security fix and doesn't need to
be mitigated to avoid data-dependent behaviour for certain instructions.
It needs no hypervisor support. Treat it as supported regardless of what
KVM reports.

Signed-off-by: Tao Su <tao1.su@linux.intel.com>
Reviewed-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-ID: <20230706054949.66556-4-tao1.su@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/kvm/kvm.c