From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Egger Subject: libxl: enable/disable SVM cpuid bits Date: Wed, 1 Jun 2011 16:21:29 +0200 Message-ID: <4DE64AE9.2010607@amd.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------050205080704090805060504" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org --------------050205080704090805060504 Content-Type: text/plain; charset="ISO-8859-15"; format=flowed Content-Transfer-Encoding: 7bit Allow to enable/disable SVM cpuid bits in the guest config file. Signed-off-by: Christoph Egger -- ---to satisfy European Law for business letters: Advanced Micro Devices GmbH Einsteinring 24, 85689 Dornach b. Muenchen Geschaeftsfuehrer: Alberto Bozzo, Andrew Bowd Sitz: Dornach, Gemeinde Aschheim, Landkreis Muenchen Registergericht Muenchen, HRB Nr. 43632 --------------050205080704090805060504 Content-Type: text/plain; name="xen_libxl_svm.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="xen_libxl_svm.diff" Content-Description: xen_libxl_svm.diff diff -r 4d28306d6e33 tools/libxl/libxl_cpuid.c --- a/tools/libxl/libxl_cpuid.c Tue May 31 13:57:45 2011 +0100 +++ b/tools/libxl/libxl_cpuid.c Wed Jun 01 16:20:24 2011 +0200 @@ -178,6 +178,11 @@ int libxl_cpuid_parse_config(libxl_cpuid {"procpkg", 0x00000004, 0, CPUID_REG_EAX, 26, 6}, {"apicidsize", 0x80000008, NA, CPUID_REG_ECX, 12, 4}, {"nc", 0x80000008, NA, CPUID_REG_ECX, 0, 8}, + {"svm_npt", 0x8000000a, NA, CPUID_REG_EDX, 0, 1}, + {"svm_lbrv", 0x8000000a, NA, CPUID_REG_EDX, 1, 1}, + {"svm_nrips", 0x8000000a, NA, CPUID_REG_EDX, 2, 1}, + {"svm_vmcbclean",0x8000000a, NA, CPUID_REG_EDX, 5, 1}, + {"svm_pausefilt",0x8000000a, NA, CPUID_REG_EDX, 10, 1}, {NULL, 0, CPUID_REG_INV, 0, 0} }; --------------050205080704090805060504 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --------------050205080704090805060504--