diff options
author | Paul Mackerras <paulus@samba.org> | 2015-03-28 14:21:01 +1100 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2015-04-21 15:21:31 +0200 |
commit | e23a808b1681d398a983ebc51179efc51c4a1eaf (patch) | |
tree | 4dd8a7c2a9c5633c767a03ad8999bde471a55eda /arch/powerpc/include/asm/time.h | |
parent | 6e0365b782739eb41b03bcfd23abeefacbf0817a (diff) | |
download | talos-obmc-linux-e23a808b1681d398a983ebc51179efc51c4a1eaf.tar.gz talos-obmc-linux-e23a808b1681d398a983ebc51179efc51c4a1eaf.zip |
KVM: PPC: Book3S HV: Create debugfs file for each guest's HPT
This creates a debugfs directory for each HV guest (assuming debugfs
is enabled in the kernel config), and within that directory, a file
by which the contents of the guest's HPT (hashed page table) can be
read. The directory is named vmnnnn, where nnnn is the PID of the
process that created the guest. The file is named "htab". This is
intended to help in debugging problems in the host's management
of guest memory.
The contents of the file consist of a series of lines like this:
3f48 4000d032bf003505 0000000bd7ff1196 00000003b5c71196
The first field is the index of the entry in the HPT, the second and
third are the HPT entry, so the third entry contains the real page
number that is mapped by the entry if the entry's valid bit is set.
The fourth field is the guest's view of the second doubleword of the
entry, so it contains the guest physical address. (The format of the
second through fourth fields are described in the Power ISA and also
in arch/powerpc/include/asm/mmu-hash64.h.)
Signed-off-by: Paul Mackerras <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'arch/powerpc/include/asm/time.h')
0 files changed, 0 insertions, 0 deletions