[Crash-utility] question about phys_base

Wen Congyang wency at cn.fujitsu.com
Wed Feb 15 08:28:09 UTC 2012


Hi, Dave

I am implementing a new dump command in the qemu. The vmcore's
format is elf(like kdump). And I try to provide phys_base in
the PT_LOAD. But if the os uses the first vcpu do kdump, the
value of phys_base is wrong.

I find a function x86_64_virt_phys_base() in crash's code.
Is it OK to call this function first? If the function
successes, we do not calculate phys_base according to PT_LOAD.

Thanks
Wen Congyang




More information about the Crash-utility mailing list