Enable ERMS feature support for KVM
PATCH 1/1 Enable ERMS feature support for KVM
This patch exposes ERMS feature to KVM guests.
The REP MOVSB/STOSB instruction can enhance fast strings attempts to move as much of the data with larger size load/stores as possible.
Signed-off-by Yang, Wei <[email protected]>
--- arch/x86/kvm/x86.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
arch/x86/kvm/x86.c +1 -1
@@ -2361,7 +2361,7 @@ static void do_cpuid_ent(struct kvm_cpuid_entry2 *entry, u32 function,/* cpuid 7.0.ebx */ const u32 kvm_supported_word9_x86_features = -F (SMEP ); +F (SMEP ) |F (ERMS );/* all calls to cpuid_count() should be made on the same cpu */ get_cpu ();
Signature · 1 line
1.7.1
Avi Kivity
AppliedQuoted 5 lines · Wei
This patch exposes ERMS feature to KVM guests.
The REP MOVSB/STOSB instruction can enhance fast strings attempts to move as much of the data with larger size load/stores as possible.
Applied, thanks.
Signature · 1 line
error compiling committee.c: too many arguments to function