Commit 40f82019 authored by Sebastian Ene's avatar Sebastian Ene
Browse files

ANDROID: gki_config: enable PTDUMP_STAGE2_DEBUGFS



Dump the guest stage-2 pagetables to debugfs to inspect the memory
attributes. When debugfs is mounted the following files are accessible
to display guest-VM details:

View the pagetable mappings :
cat /sys/kernel/debug/kvm/*/stage2_page_tables

View the number of IPA bits used:
cat /sys/kernel/debug/kvm/*/ipa_range

View the start level of the pagetable:
cat /sys/kernel/debug/kvm/*/stage2_levels

Bug: 260238318
Bug: 278749606
Change-Id: If157d5c3e973528ff4ae1b23433c18c5b0b0dbdd
Signed-off-by: default avatarSebastian Ene <sebastianene@google.com>
parent e843e53e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment