|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH][HVM] fix XSAVE leaf 0 EBX size calculation
Fixes a size calculation bug when enabled bits in XFEATURE_MASK (xcr0)
aren't contiguous.
Current for_loop will stop when xcr0 feature bit is 0. But in reality,
the bits can be non-contiguous. One example is that LWP is bit 62 on AMD
platform. This patch iterates through all bits to calculate the size for
enabled features.
Signed-off-by: Wei Huang <wei.huang2@xxxxxxx>
fix_xsave_leaf_0_size_bug.txt
Description: fix_xsave_leaf_0_size_bug.txt
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH][HVM] fix XSAVE leaf 0 EBX size calculation,
Wei Huang <=
|
|
|
|
|