diff options
author | Paolo Bonzini <[email protected]> | 2019-08-15 09:17:31 +0200 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2019-08-22 10:09:07 +0200 |
commit | 50896de4be7e08fc47f857f6e0c0e9ab2654b941 (patch) | |
tree | 7752015b517f3b0d9115894f9e872e058e2555ba /scripts/gdb/linux/modules.py | |
parent | 4c6903a0f9d76be8a907d8238a5e86c829c8954d (diff) |
KVM: x86: always expose VIRT_SSBD to guests
Even though it is preferrable to use SPEC_CTRL (represented by
X86_FEATURE_AMD_SSBD) instead of VIRT_SPEC, VIRT_SPEC is always
supported anyway because otherwise it would be impossible to
migrate from old to new CPUs. Make this apparent in the
result of KVM_GET_SUPPORTED_CPUID as well.
However, we need to hide the bit on Intel processors, so move
the setting to svm_set_supported_cpuid.
Cc: Konrad Rzeszutek Wilk <[email protected]>
Reported-by: Eduardo Habkost <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions