Re: [Qemu-devel] [PATCH] flatload: fix bss clearing

2012-07-09 Thread Mike Frysinger
On Monday 09 July 2012 09:21:52 Andreas Färber wrote: > Am 09.07.2012 15:04, schrieb Mike Frysinger: > > The current bss clear logic assumes the target mmap address and host > > address are the same. Use g2h to translate from the target address > > space to the host so we can call memset on it. >

Re: [Qemu-devel] [PATCH] flatload: fix bss clearing

2012-07-09 Thread Andreas Färber
Hi Mike, Am 09.07.2012 15:04, schrieb Mike Frysinger: > The current bss clear logic assumes the target mmap address and host > address are the same. Use g2h to translate from the target address > space to the host so we can call memset on it. > > Signed-off-by: Mike Frysinger > --- > linux-use

Re: [Qemu-devel] [PATCH] flatload: fix bss clearing

2012-07-09 Thread Peter Maydell
On 9 July 2012 14:04, Mike Frysinger wrote: > The current bss clear logic assumes the target mmap address and host > address are the same. Use g2h to translate from the target address > space to the host so we can call memset on it. > > Signed-off-by: Mike Frysinger Reviewed-by: Peter Maydell

[Qemu-devel] [PATCH] flatload: fix bss clearing

2012-07-09 Thread Mike Frysinger
The current bss clear logic assumes the target mmap address and host address are the same. Use g2h to translate from the target address space to the host so we can call memset on it. Signed-off-by: Mike Frysinger --- linux-user/flatload.c |2 +- 1 files changed, 1 insertions(+), 1 deletions