Re: [Qemu-devel] [Qemu-trivial] [PATCH V5 1/1] qmp: add pmemload command

2014-04-30 Thread Baojun Wang
M, Michael Tokarev wrote: > 09.04.2014 21:49, Baojun Wang wrote: > > I found this could be useful to have qemu-softmmu as a cross debugger > (launch > > with -s -S command line option), then if we can have a command to load > guest > > physical memory, we can use cross

[Qemu-devel] [PATCH V5 1/1] qmp: add pmemload command

2014-04-09 Thread Baojun Wang
suggestions. Signed-off-by: Baojun Wang --- cpus.c | 29 + hmp-commands.hx | 13 + hmp.c| 11 +++ hmp.h| 1 + qapi-schema.json | 18 ++ qmp-commands.hx | 27 +++ 6 files

[Qemu-devel] [PATCH V4 1/1] qmp: add pmemload command

2014-04-09 Thread Baojun Wang
Signed-off-by: Baojun Wang --- cpus.c | 29 + hmp-commands.hx | 13 + hmp.c| 11 +++ hmp.h| 1 + qapi-schema.json | 18 ++ qmp-commands.hx | 27 +++ 6 files changed, 99

Re: [Qemu-devel] [PATCH V3 1/1] Add pmemsave command for both monitor and qmp, which could be useful to have qemu-softmmu as a cross debugger to load guest physical memory.

2014-04-08 Thread Baojun Wang
hough it could be easier if pmemload takes the same arguments as memsave/pmemsave. Again, really thanks for your patient. Best Regards On Tue, Apr 8, 2014 at 12:42 PM, Eric Blake wrote: > On 04/08/2014 01:30 PM, Baojun Wang wrote: > > Your subject line is extremely long. In general, we

[Qemu-devel] [PATCH V3 1/1] Add pmemsave command for both monitor and qmp, which could be useful to have qemu-softmmu as a cross debugger to load guest physical memory.

2014-04-08 Thread Baojun Wang
I found this could be useful to have qemu-softmmu as a cross debugger (launch with -s -S command line option), then if we can have a command to load guest physical memory, we can use cross gdb to do some target debug which gdb cannot do directly. Many thanks to Eric Blake for review the patch. --

Re: [Qemu-devel] [PATCH 1/1] monitor: Add pmemload command

2014-04-08 Thread Baojun Wang
fix an error in qmp-commands.hx On Tue, Apr 8, 2014 at 10:17 AM, Baojun Wang wrote: > Hi list, > > Is it possible to add a monitor command ``pmemload'' as pmemsave? > I found this could be useful to have qemu-softmmu as a cross debugger > (launch with -s -S command lin

[Qemu-devel] [PATCH 1/1] monitor: Add pmemload command

2014-04-08 Thread Baojun Wang
Hi list, Is it possible to add a monitor command ``pmemload'' as pmemsave? I found this could be useful to have qemu-softmmu as a cross debugger (launch with -s -S command line option), then if we can have a command to load guest physical memory, we can use cross gdb to do some target debug which