[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 00/12 v13] introducing a new, dedicated guest me
From: |
Luiz Capitulino |
Subject: |
Re: [Qemu-devel] [PATCH 00/12 v13] introducing a new, dedicated guest memory dump mechanism |
Date: |
Fri, 20 Apr 2012 20:27:02 -0300 |
On Thu, 19 Apr 2012 19:00:39 +0800
Wen Congyang <address@hidden> wrote:
> At 04/18/2012 08:49 PM, Wen Congyang Wrote:
> > Hi, all
> >
> > 'virsh dump' can not work when host pci device is used by guest. We have
> > discussed this issue here:
> > http://lists.nongnu.org/archive/html/qemu-devel/2011-10/msg00736.html
> >
> > The last version is here:
> > http://lists.nongnu.org/archive/html/qemu-devel/2012-04/msg02440.html
> >
> > We have determined to introduce a new command dump-guest-memory to dump
> > guest's memory. The core file's format is elf32 or elf64.
> >
> > Note:
> > 1. The guest should be x86 or x86_64. The other arch is not supported now.
> > 2. If you use old gdb, gdb may crash. I use gdb-7.3.1, and it does not
> > crash.
> > 3. If the OS is in the second kernel, gdb may not work well, and crash can
> > work by specifying '--machdep phys_addr=xxx' in the command line. The
> > reason is that the second kernel will update the page table, and we can
> > not get the page table for the first kernel.
> > 4. The cpu's state is stored in QEMU note. You neet to modify crash to use
> > it to calculate phys_base.
> > 5. If the guest OS is 32 bit and the memory size is larger than 4G, the
> > vmcore
> > is elf64 format. You should use the gdb which is built with
> > --enable-64-bit-bfd.
> >
> > Changes from v12 to v13:
> > 1. Support the fd that is is associated with a pipe, socket, or FIFO
>
> Hi, Luiz:
>
> Do you have time to review it?
Will do next week.
> And do you want to wait for Jan and/or
> Anthony's ack for this verion?
That would be good, but if they're too busy then we'll have to trust my
review only.
- [Qemu-devel] [PATCH 06/12 v13] Add API to get memory mapping without do paging, (continued)
- [Qemu-devel] [PATCH 06/12 v13] Add API to get memory mapping without do paging, Wen Congyang, 2012/04/18
- [Qemu-devel] [PATCH 07/12 v13] target-i386: Add API to write elf notes to core file, Wen Congyang, 2012/04/18
- [Qemu-devel] [PATCH 08/12 v13] target-i386: Add API to write cpu status to core file, Wen Congyang, 2012/04/18
- [Qemu-devel] [PATCH 09/12 v13] target-i386: add API to get dump info, Wen Congyang, 2012/04/18
- [Qemu-devel] [PATCH 10/12 v13] target-i386: Add API to get note's size, Wen Congyang, 2012/04/18
- [Qemu-devel] [PATCH 11/12 v13] make gdb_id() generally avialable and rename it to cpu_index(), Wen Congyang, 2012/04/18
- [Qemu-devel] [PATCH 12/12 v13] introduce a new monitor command 'dump-guest-memory' to dump guest's memory, Wen Congyang, 2012/04/18
- Re: [Qemu-devel] [PATCH 00/12 v13] introducing a new, dedicated guest memory dump mechanism, Wen Congyang, 2012/04/18
- Re: [Qemu-devel] [PATCH 00/12 v13] introducing a new, dedicated guest memory dump mechanism, Wen Congyang, 2012/04/19
- Re: [Qemu-devel] [PATCH 00/12 v13] introducing a new, dedicated guest memory dump mechanism,
Luiz Capitulino <=