[Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-19 Thread Wen Congyang
The command's usage: dump [-p] protocol [begin] [length] The supported protocol can be file or fd: 1. file: the protocol starts with "file:", and the following string is the file's path. 2. fd: the protocol starts with "fd:", and the following string is the fd's name. Note: 1. If you wa

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-23 Thread HATAYAMA Daisuke
From: Wen Congyang Subject: [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory Date: Tue, 20 Mar 2012 11:57:43 +0800 > +typedef struct DumpState { > +ArchDumpInfo dump_info; > +MemoryMappingList list; > +uint16_t phdr_num; > +uint32_t s

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-23 Thread HATAYAMA Daisuke
From: Wen Congyang Subject: [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory Date: Tue, 20 Mar 2012 11:57:43 +0800 > +static int write_elf64_header(DumpState *s) > +{ > +Elf64_Ehdr elf_header; > +int ret; > +int endian = s->dump_info.d_endi

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-23 Thread HATAYAMA Daisuke
From: Wen Congyang Subject: [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory Date: Tue, 20 Mar 2012 11:57:43 +0800 > +/* get the memory's offset in the vmcore */ > +static target_phys_addr_t get_offset(target_phys_addr_t phys_addr, > +

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-23 Thread Luiz Capitulino
On Fri, 23 Mar 2012 17:06:22 +0900 ( ) HATAYAMA Daisuke wrote: > From: Wen Congyang > Subject: [PATCH 11/11 v10] introduce a new monitor command > 'dump-guest-memory' to dump guest's memory > Date: Tue, 20 Mar 2012 11:57:43 +0800 > > > > > +typedef struct DumpState { > > +ArchDumpInfo

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-23 Thread Luiz Capitulino
On Tue, 20 Mar 2012 11:57:43 +0800 Wen Congyang wrote: > The command's usage: >dump [-p] protocol [begin] [length] > The supported protocol can be file or fd: > 1. file: the protocol starts with "file:", and the following string is >the file's path. > 2. fd: the protocol starts with "fd:"

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-25 Thread Wen Congyang
At 03/23/2012 05:40 PM, HATAYAMA Daisuke Wrote: > From: Wen Congyang > Subject: [PATCH 11/11 v10] introduce a new monitor command > 'dump-guest-memory' to dump guest's memory > Date: Tue, 20 Mar 2012 11:57:43 +0800 > >> +/* get the memory's offset in the vmcore */ >> +static target_phys_addr_t g

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-25 Thread Wen Congyang
At 03/23/2012 05:00 PM, HATAYAMA Daisuke Wrote: > From: Wen Congyang > Subject: [PATCH 11/11 v10] introduce a new monitor command > 'dump-guest-memory' to dump guest's memory > Date: Tue, 20 Mar 2012 11:57:43 +0800 > >> +static int write_elf64_header(DumpState *s) >> +{ >> +Elf64_Ehdr elf_he

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-25 Thread Wen Congyang
At 03/24/2012 01:19 AM, Luiz Capitulino Wrote: > On Tue, 20 Mar 2012 11:57:43 +0800 > Wen Congyang wrote: > >> The command's usage: >>dump [-p] protocol [begin] [length] >> The supported protocol can be file or fd: >> 1. file: the protocol starts with "file:", and the following string is >>

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-25 Thread Wen Congyang
At 03/24/2012 01:07 AM, Luiz Capitulino Wrote: > On Fri, 23 Mar 2012 17:06:22 +0900 ( ) > HATAYAMA Daisuke wrote: > >> From: Wen Congyang >> Subject: [PATCH 11/11 v10] introduce a new monitor command >> 'dump-guest-memory' to dump guest's memory >> Date: Tue, 20 Mar 2012 11:57:43 +0800 >> >>

Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory

2012-03-25 Thread HATAYAMA Daisuke
From: Wen Congyang Subject: Re: [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory Date: Mon, 26 Mar 2012 09:39:24 +0800 > At 03/23/2012 05:40 PM, HATAYAMA Daisuke Wrote: >> From: Wen Congyang >> Subject: [PATCH 11/11 v10] introduce a new monitor comman