Re: [Qemu-devel] [PATCH 3/9] linux-user: Don't reset a new thread's CPU

2013-07-06 Thread Andreas Färber
Am 06.07.2013 14:44, schrieb Peter Maydell: > On 6 July 2013 13:40, Andreas Färber wrote: >> softmmu would do it after the future QMP qom-set phase. The mess there >> is reset handler registration order: We cannot have most CPUs register a >> reset handler themselves yet because some machines (inc

Re: [Qemu-devel] [PATCH 3/9] linux-user: Don't reset a new thread's CPU

2013-07-06 Thread Peter Maydell
On 6 July 2013 13:40, Andreas Färber wrote: > softmmu would do it after the future QMP qom-set phase. The mess there > is reset handler registration order: We cannot have most CPUs register a > reset handler themselves yet because some machines (including most ARM > ones) register reset handlers t

Re: [Qemu-devel] [PATCH 3/9] linux-user: Don't reset a new thread's CPU

2013-07-06 Thread Andreas Färber
Am 06.07.2013 12:31, schrieb Peter Maydell: > On 6 July 2013 01:36, Alexander Graf wrote: >> When we create a new thread, there is no reason to reset it. I'm fairly sure >> the code has mostly been left in there because nobody understood why it was >> there in the first place. > > We had a big di

Re: [Qemu-devel] [PATCH 3/9] linux-user: Don't reset a new thread's CPU

2013-07-06 Thread Peter Maydell
On 6 July 2013 01:36, Alexander Graf wrote: > When we create a new thread, there is no reason to reset it. I'm fairly sure > the code has mostly been left in there because nobody understood why it was > there in the first place. We had a big discussion on this on IRC. This code is here because of

[Qemu-devel] [PATCH 3/9] linux-user: Don't reset a new thread's CPU

2013-07-05 Thread Alexander Graf
When we create a new thread, there is no reason to reset it. I'm fairly sure the code has mostly been left in there because nobody understood why it was there in the first place. Remove the reset. A new thread's kernel sided state should be identical to the old one's. Signed-off-by: Alexander Gra