qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V9 0/5] target-ppc: Add support for dumping gues


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH V9 0/5] target-ppc: Add support for dumping guest memory using qemu gdb server
Date: Thu, 6 Feb 2014 15:58:36 +0100

On 28.01.2014, at 08:59, Aneesh Kumar K.V <address@hidden> wrote:

> Hi,
> 
> 
> This patch series implement support for dumping guest memory using qemu gdb 
> server. The last patch also enable qemu monitor command dump-guest-memory
> 
> With this patch series we can now do
> 
> (gdb) x/4i htab_call_hpte_insert1
>   0xc0000000000470d8 <.htab_call_hpte_insert1>:        bl      
> 0xc0000000000470d8 <.htab_call_hpte_insert1>
>   0xc0000000000470dc <.htab_call_hpte_insert1+4>:      cmpdi   r3,0
>   0xc0000000000470e0 <.htab_call_hpte_insert1+8>:      bge     
> 0xc000000000047190 <htab_pte_insert_ok>
>   0xc0000000000470e4 <.htab_call_hpte_insert1+12>:     cmpdi   r3,-2
> (gdb) target remote localhost:1234
> Remote debugging using localhost:1234
> .plpar_hcall_norets () at arch/powerpc/platforms/pseries/hvCall.S:119
> 119             HCALL_INST_POSTCALL_NORETS
> (gdb) x/4i htab_call_hpte_insert1
>   0xc0000000000470d8 <.htab_call_hpte_insert1>:        bl      
> 0xc00000000005f8f0 <pSeries_lpar_hpte_insert>
>   0xc0000000000470dc <.htab_call_hpte_insert1+4>:      cmpdi   r3,0
>   0xc0000000000470e0 <.htab_call_hpte_insert1+8>:      bge     
> 0xc000000000047190 <htab_pte_insert_ok>
>   0xc0000000000470e4 <.htab_call_hpte_insert1+12>:     cmpdi   r3,-2
> (gdb)
> 
> NOTE: We still don't support inserting breakpoints.
> 
> Before Fix:
> (qemu) memsave 0xc0000000000470d8 10 memdump
> Invalid parameter 'addr'
> (qemu)
> 
> After fix:
> 
> (qemu)  memsave 0xc0000000000470d8 10 memdump
> (qemu)
> 
> Changes from V8:
> * Add hpte store support. Currently we don't have any user for this. 

Thanks, applied all to ppc-next.

Alex




reply via email to

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