KVM: Enable ERMS feature support for KVM
authorYang, Wei <wei.y.yang@intel.com>
Tue, 14 Jun 2011 07:19:06 +0000 (15:19 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 12 Jul 2011 10:16:25 +0000 (13:16 +0300)
commita01c8f9b4e266df1d7166d23216f2060648f862d
tree9f1255015b195cc96a8e88da5a1bee1300a541ed
parent176f61da82435eae09cc96f70b530d1ba0746b8b
KVM: 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 <wei.y.yang@intel.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c