[Top][All Lists]
[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: |
Wen Congyang |
Subject: |
Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest |
Date: |
Tue, 25 Oct 2011 16:06:54 +0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100413 Fedora/3.0.4-2.fc13 Thunderbird/3.0.4 |
At 10/24/2011 11:30 PM, Avi Kivity Write:
> On 10/24/2011 05:25 PM, Dave Anderson wrote:
>>
>> ----- Original Message -----
>>> On 10/24/2011 04:25 PM, Dave Anderson wrote:
>>>>> The question is that: 'virsh dump' can not be used when host pci device
>>>>> is used by guest. We are discussing how to fix the problem. We have
>>>>> determined
>>>>> that introduce a new monitor command dump. Jan suggested that the core
>>>>> file's
>>>>> format is gdb standard core format. Does crash support such format? If
>>>>> no,
>>>>> is it possible to support such format?
>>>>
>>>> If you are talking about an ELF core dump of the user-space qemu-kvm
>>>> process
>>>> running on the host, then it's certainly not supported.
>>>
>>> No, an ELF image of the guest's physical memory.
>>
>> Well then that should be pretty straight forward to support. Depending upon
>> how similar it would be to the "standard" kdump ELF format, the only other
>> issue is how to determine the physical base address at which the kernel is
>> loaded, in order to be able to translate the mapped kernel-text/static-data
>> virtual region of the x86_64 arch (the __START_KERNEL_map region).
>>
>
> I guess an elf note would work for that?
Hi, Avi Kivity, Dave Anderson
I have two questions about it:
1. How to know the guest's physical base address in qemu?
2. Does kdump format(not ELF) include such information in its head?
Thanks
Wen Congyang
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, (continued)
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Jan Kiszka, 2011/10/21
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Richard W.M. Jones, 2011/10/21
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Wen Congyang, 2011/10/23
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Dave Anderson, 2011/10/24
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Avi Kivity, 2011/10/24
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Dave Anderson, 2011/10/24
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Avi Kivity, 2011/10/24
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Dave Anderson, 2011/10/24
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Wen Congyang, 2011/10/24
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Jan Kiszka, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest,
Wen Congyang <=
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Avi Kivity, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Paolo Bonzini, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Avi Kivity, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Paolo Bonzini, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Jan Kiszka, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Dave Anderson, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Avi Kivity, 2011/10/25
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Daniel P. Berrange, 2011/10/18
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Jan Kiszka, 2011/10/18
- Re: [Qemu-devel] [Question] dump memory when host pci device is used by guest, Jan Kiszka, 2011/10/18