qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [Question] dump memory when host pci device is used by


From: Avi Kivity
Subject: Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest
Date: Tue, 25 Oct 2011 15:22:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

On 10/25/2011 03:18 PM, Dave Anderson wrote:
> > 
> > Crash uses a heuristic based on the IDT base to identify the base from
> > migrate-to-file output.  It also needs CR3 in order to read from virtual
> > address.
>
> Just to clarify -- the need for the IDT base and cr3 is *only* true for 
> KVM dumps using the "savevm" format.  
>
> With ELF-format kdumps, the phys_base is simply determined from the PT_LOAD
> segment that describes the kernel's __START_KERNEL_map region.  I don't know
> why that couldn't be done in this proposed case.  
>  
>

kvm has no idea where the kernel (if any) is running.  The dump is taken
without any guest cooperation.

-- 
I have a truly marvellous patch that fixes the bug which this
signature is too narrow to contain.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]