• A
    KVM: fix XSAVE bit scanning · 20800bc9
    Andre Przywara 提交于
    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: NAndre Przywara <andre.przywara@amd.com>
    Signed-off-by: NAvi Kivity <avi@redhat.com>
    20800bc9
x86.c 156.8 KB