aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorPaolo Bonzini <[email protected]>2020-08-09 13:04:56 -0400
committerPaolo Bonzini <[email protected]>2020-08-09 13:08:54 -0400
commit43bd9ef42b3b862c97f1f4e86bf3ace890bef924 (patch)
tree33ebc7e27d4e0ebce65b8bdb4069f11e4b31bd11 /lib/memory-notifier-error-inject.c
parent0378daef0c6cf1c2ba525bde0b529f0d4ef5233b (diff)
x86: Expose SERIALIZE for supported cpuid
The SERIALIZE instruction is supported by Tntel processors, like Sapphire Rapids. SERIALIZE is a faster serializing instruction which does not modify registers, arithmetic flags or memory, will not cause VM exit. It's availability is indicated by CPUID.(EAX=7,ECX=0):ECX[bit 14]. Expose it in KVM supported CPUID. This way, KVM could pass this information to guests and they can make use of these features accordingly. Signed-off-by: Cathy Zhang <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions