• W
    Add API to get memory mapping · c517076d
    Wen Congyang 提交于
    Add API to get all virtual address and physical address mapping.
    If the guest doesn't use paging, the virtual address is equal to the phyical
    address. The virtual address and physical address mapping is for gdb's user, and
    it does not include the memory that is not referenced by the page table. So if
    you want to use crash to anaylze the vmcore, please do not specify -p option.
    the reason why the -p option is not default explicitly: guest machine in a
    catastrophic state can have corrupted memory, which we cannot trust.
    Signed-off-by: NWen Congyang <wency@cn.fujitsu.com>
    Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
    c517076d
memory_mapping.c 6.1 KB