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: Mon, 24 Oct 2011 17:01:36 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20110930 Thunderbird/7.0.1

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.

> As to whether it's possible, I suppose it could be done if a 
> phyical-memory-read
> function could be created for it, similar to what I asked about for live 
> analysis
> of a guest kernel run on/from the KVM host.  

We could use the gdb protocol for this.  Currently it reads/writes
virtual memory, but we could extend the gdbserver command to make these
commands apply to physical memory.

-- 
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]