Searched hist:df11f7dd (Results 1 - 2 of 2) sorted by relevance

/linux-master/tools/testing/selftests/kvm/lib/x86_64/
H A Dprocessor.cdiff df11f7dd Mon Oct 12 01:47:13 MDT 2020 Aaron Lewis <aaronlewis@google.com> selftests: kvm: Fix the segment descriptor layout to match the actual layout

Fix the layout of 'struct desc64' to match the layout described in the
SDM Vol 3, Chapter 3 "Protected-Mode Memory Management", section 3.4.5
"Segment Descriptors", Figure 3-8 "Segment Descriptor". The test added
later in this series relies on this and crashes if this layout is not
correct.

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Message-Id: <20201012194716.3950330-2-aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
/linux-master/tools/testing/selftests/kvm/include/x86_64/
H A Dprocessor.hdiff df11f7dd Mon Oct 12 01:47:13 MDT 2020 Aaron Lewis <aaronlewis@google.com> selftests: kvm: Fix the segment descriptor layout to match the actual layout

Fix the layout of 'struct desc64' to match the layout described in the
SDM Vol 3, Chapter 3 "Protected-Mode Memory Management", section 3.4.5
"Segment Descriptors", Figure 3-8 "Segment Descriptor". The test added
later in this series relies on this and crashes if this layout is not
correct.

Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Reviewed-by: Alexander Graf <graf@amazon.com>
Message-Id: <20201012194716.3950330-2-aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>

Completed in 294 milliseconds