Skip to content
Commit f333374e authored by Babu Moger's avatar Babu Moger Committed by Paolo Bonzini
Browse files

x86/cpufeatures: Add the Virtual SPEC_CTRL feature



Newer AMD processors have a feature to virtualize the use of the
SPEC_CTRL MSR. Presence of this feature is indicated via CPUID
function 0x8000000A_EDX[20]: GuestSpecCtrl. When present, the
SPEC_CTRL MSR is automatically virtualized.

Signed-off-by: default avatarBabu Moger <babu.moger@amd.com>
Acked-by: default avatarBorislav Petkov <bp@suse.de>
Message-Id: <161188100272.28787.4097272856384825024.stgit@bmoger-ubuntu>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent cc3ed80a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment