From: Christoph Egger <Christoph.Egger@amd.com>
To: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>
Subject: libxl: enable/disable SVM cpuid bits
Date: Wed, 1 Jun 2011 16:21:29 +0200 [thread overview]
Message-ID: <4DE64AE9.2010607@amd.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 388 bytes --]
Allow to enable/disable SVM cpuid bits in the guest config file.
Signed-off-by: Christoph Egger <Christoph.Egger@amd.com>
--
---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
[-- Attachment #2: xen_libxl_svm.diff --]
[-- Type: text/plain, Size: 813 bytes --]
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}
};
[-- Attachment #3: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2011-06-01 14:21 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 14:21 Christoph Egger [this message]
2011-06-01 14:52 ` libxl: enable/disable SVM cpuid bits Christoph Egger
2011-06-02 16:37 ` Ian Jackson
2011-06-02 19:22 ` Keir Fraser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DE64AE9.2010607@amd.com \
--to=christoph.egger@amd.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).