qemu-devel
[Top][All Lists]
Advanced

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

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


From: Luiz Capitulino
Subject: Re: [Qemu-devel] [PATCH 11/11 v10] introduce a new monitor command 'dump-guest-memory' to dump guest's memory
Date: Fri, 23 Mar 2012 14:07:37 -0300

On Fri, 23 Mar 2012 17:06:22 +0900 (   )
HATAYAMA Daisuke <address@hidden> wrote:

> From: Wen Congyang <address@hidden>
> 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
> 
> <cut>
> 
> > +typedef struct DumpState {
> > +    ArchDumpInfo dump_info;
> > +    MemoryMappingList list;
> > +    uint16_t phdr_num;
> > +    uint32_t sh_info;
> > +    bool have_section;
> > +    bool resume;
> > +    target_phys_addr_t memory_offset;
> > +    write_core_dump_function f;
> 
> f() is so general. Type information is meaningless enough, but there's
> no explicit occurence of the function call of f(). Could you consider
> renaming?

Agreed. I actually don't see why this indirection is needed.



reply via email to

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