diff options
author | Christoph Egger <Christoph.Egger@amd.com> | 2011-06-08 13:39:31 +0100 |
---|---|---|
committer | Christoph Egger <Christoph.Egger@amd.com> | 2011-06-08 13:39:31 +0100 |
commit | 7096575dcdc0d87e16e381bf87d937d852560a73 (patch) | |
tree | 3150bfede305c8fee3dd95ef8d33e12da16d9849 /tools/libxc/xc_cpuid_x86.c | |
parent | f488040222f34df97deb2470f14cef7fb9599810 (diff) | |
download | xen-7096575dcdc0d87e16e381bf87d937d852560a73.tar.gz xen-7096575dcdc0d87e16e381bf87d937d852560a73.tar.bz2 xen-7096575dcdc0d87e16e381bf87d937d852560a73.zip |
nestedsvm: Support Decodeassist
Offer l1 guest to use decode assist if available in hardware.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
Diffstat (limited to 'tools/libxc/xc_cpuid_x86.c')
-rw-r--r-- | tools/libxc/xc_cpuid_x86.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libxc/xc_cpuid_x86.c b/tools/libxc/xc_cpuid_x86.c index 71b598d533..ef23358754 100644 --- a/tools/libxc/xc_cpuid_x86.c +++ b/tools/libxc/xc_cpuid_x86.c @@ -153,7 +153,8 @@ static void amd_xc_cpuid_policy( * available in hw and which are implemented */ regs[3] &= (SVM_FEATURE_NPT | SVM_FEATURE_LBRV | \ - SVM_FEATURE_NRIPS | SVM_FEATURE_PAUSEFILTER); + SVM_FEATURE_NRIPS | SVM_FEATURE_PAUSEFILTER | \ + SVM_FEATURE_DECODEASSISTS); /* Pass 2: Always enable SVM features which are emulated */ regs[3] |= SVM_FEATURE_VMCBCLEAN; |