Re: [Qemu-devel] [PATCH semi-urgent v2] linux-user: Fix exit syscall with QOM CPU

2012-04-15 Thread Blue Swirl
On Sun, Apr 15, 2012 at 16:51, Andreas Färber wrote: > For QOM'ified CPUs we cannot g_free() CPUArchState, we must > object_delete() the object it is embedded into. > > Fixes LP#982321 (invalid free() while executing pacman with qemu-arm). > > Reported-by: Serge Schneider > Reported-by: Russell K

[Qemu-devel] [PATCH semi-urgent v2] linux-user: Fix exit syscall with QOM CPU

2012-04-15 Thread Andreas Färber
For QOM'ified CPUs we cannot g_free() CPUArchState, we must object_delete() the object it is embedded into. Fixes LP#982321 (invalid free() while executing pacman with qemu-arm). Reported-by: Serge Schneider Reported-by: Russell Keith Davis Signed-off-by: Andreas Färber Reviewed-by: Peter Mayd