Re: [Qemu-devel] [PATCH 01/13] linux-user: Use memcpy in get_user/put_user.

2012-09-17 Thread Peter Maydell
On 17 September 2012 16:28, Richard Henderson wrote: > Not sure whether this is a gcc bug, but on sparc we wind up > trying to use std to an unaligned address. The patch does > work around the problem. > > Signed-off-by: Richard Henderson As far as the code is concerned: Reviewed-by: Peter Mayd

Re: [Qemu-devel] [PATCH 01/13] linux-user: Use memcpy in get_user/put_user.

2012-09-17 Thread Richard Henderson
On 09/17/2012 08:35 AM, Peter Maydell wrote: > On 17 September 2012 16:28, Richard Henderson wrote: >> Not sure whether this is a gcc bug, but on sparc we wind up >> trying to use std to an unaligned address. The patch does >> work around the problem. > > Hmm. I guess this is guest and host havi

Re: [Qemu-devel] [PATCH 01/13] linux-user: Use memcpy in get_user/put_user.

2012-09-17 Thread Peter Maydell
On 17 September 2012 16:28, Richard Henderson wrote: > Not sure whether this is a gcc bug, but on sparc we wind up > trying to use std to an unaligned address. The patch does > work around the problem. Hmm. I guess this is guest and host having differing alignment requirements for 64 bit types?