aboutsummaryrefslogtreecommitdiff
path: root/virt
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@amd.com>2011-03-30 15:01:45 +0200
committerAvi Kivity <avi@redhat.com>2011-04-06 13:15:55 +0300
commit20800bc940af671257abc97ad362abe3c21ddd50 (patch)
tree4e7e725a5acbcbc9125bb792637658a08dc11ead /virt
parent0857b9e95c1af8bfe84630ef6747b9d4d61de4c6 (diff)
KVM: fix XSAVE bit scanning
When KVM scans the 0xD CPUID leaf for propagating the XSAVE save area leaves, it assumes that the leaves are contigious and stops at the first zero one. On AMD hardware there is a gap, though, as LWP uses leaf 62 to announce it's state save area. So lets iterate through all 64 possible leaves and simply skip zero ones to also cover later features. Signed-off-by: Andre Przywara <andre.przywara@amd.com> Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions