libxl: enable/disable SVM cpuid bits
Allow to enable/disable SVM cpuid bits in the guest config file.
Signature · 6 lines
---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
tools/libxl/libxl_cpuid.c +5 -0
@@ -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} };
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 5 lines · Christoph Egger
Allow to enable/disable SVM cpuid bits in the guest config file.
Signed-off-by Christoph Egger<[email protected]>
Fixed oversight. nrips was wrong.
Signature · 6 lines
---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
tools/libxl/libxl_cpuid.c +5 -0
@@ -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, 3, 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} };
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Christoph Egger writes ("Re: [Xen-devel] libxl: enable/disable SVM cpuid bits"):
Quoted 9 lines · Christoph Egger
Quoted 4 lines
Allow to enable/disable SVM cpuid bits in the guest config file.
Signed-off-by Christoph Egger<[email protected]>Fixed oversight. nrips was wrong.
Signed-off-by Christoph Egger<[email protected]>
Does anyone else have any comments on this or shall I just apply it ?
Ian.
Quoted 5 lines · Ian Jackson
Christoph Egger writes ("Re: [Xen-devel] libxl: enable/disable SVM cpuid bits"):
Quoted 3 lines · Christoph Egger
Quoted 2 lines
Allow to enable/disable SVM cpuid bits in the guest config file.
Quoted 8 lines
Quoted 6 lines
Quoted 2 lines
Signed-off-by Christoph Egger<[email protected]>Fixed oversight. nrips was wrong.
Signed-off-by Christoph Egger<[email protected]>Does anyone else have any comments on this or shall I just apply it ?
I haven't checked the actual bit mappings are correct, but the principle is fine and the patch should go in.
-- Keir
Quoted 6 lines
Ian.
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel