KVM: x86: allow guest to use cflushopt and clwb
authorXiao Guangrong <guangrong.xiao@linux.intel.com>
Wed, 9 Sep 2015 06:05:50 +0000 (14:05 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 1 Oct 2015 13:06:35 +0000 (15:06 +0200)
commiteb1c31b46800a476644cd63ab3bc7ef918b0a917
treee11dec363dd5358a47a3f27354a5e13c6d7ada5a
parentd6a858d13e5d02b97daab5ba0648c704ae3f9517
KVM: x86: allow guest to use cflushopt and clwb

Pass these CPU features to guest to enable them in guest

They are needed by nvdimm drivers

Signed-off-by: Xiao Guangrong <guangrong.xiao@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c