diff options
| author | Jan Beulich <jbeulich@suse.com> | 2013-06-13 11:23:56 +0200 |
|---|---|---|
| committer | Jan Beulich <jbeulich@suse.com> | 2013-06-13 11:23:56 +0200 |
| commit | 0bda88abe18029c2bbe9dc5d07cc706bd775c9b7 (patch) | |
| tree | 27160cba4e8ee30197ec78fc0ca21b515d0322a4 /tools/lib/sys_string.h | |
| parent | 01388775f5848796ccb4ad5c02e926650e494e32 (diff) | |
| download | xen-0bda88abe18029c2bbe9dc5d07cc706bd775c9b7.tar.gz xen-0bda88abe18029c2bbe9dc5d07cc706bd775c9b7.tar.bz2 xen-0bda88abe18029c2bbe9dc5d07cc706bd775c9b7.zip | |
x86: fix XCR0 handling
- both VMX and SVM ignored the ECX input to XSETBV
- both SVM and VMX used the full 64-bit RAX when calculating the input
mask to XSETBV
- faults on XSETBV did not get recovered from
Also consolidate the handling for PV and HVM into a single function,
and make the per-CPU variable "xcr0" static to xstate.c.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: George Dunlap <george.dunlap@eu.citrix.com>
master commit: 10b2b21a241795394637167bd4b076f2de17741f
master date: 2013-06-04 17:25:41 +0200
Diffstat (limited to 'tools/lib/sys_string.h')
0 files changed, 0 insertions, 0 deletions
