Re: [Qemu-devel] [PATCH] don't call reset functions on cpu initialization\

2009-11-04 Thread Glauber Costa
On Wed, Nov 04, 2009 at 02:51:08PM -0200, Marcelo Tosatti wrote: > On Tue, Nov 03, 2009 at 05:50:05PM -0200, Glauber Costa wrote: > > There is absolutely no need to call reset functions when initializing > > devices. Since we are already registering them, calling qemu_system_reset() > > should suff

Re: [Qemu-devel] [PATCH] don't call reset functions on cpu initialization\

2009-11-04 Thread Marcelo Tosatti
On Tue, Nov 03, 2009 at 05:50:05PM -0200, Glauber Costa wrote: > There is absolutely no need to call reset functions when initializing > devices. Since we are already registering them, calling qemu_system_reset() > should suffice. Actually, it is what happens when we reboot the machine, > and using

Re: [Qemu-devel] [PATCH] don't call reset functions on cpu initialization

2009-11-03 Thread Laurent Desnogues
On Tue, Nov 3, 2009 at 8:50 PM, Glauber Costa wrote: > There is absolutely no need to call reset functions when initializing > devices. Since we are already registering them, calling qemu_system_reset() > should suffice. Actually, it is what happens when we reboot the machine, > and using the same

Re: [Qemu-devel] [PATCH] don't call reset functions on cpu initialization

2009-11-03 Thread Glauber Costa
On Tue, Nov 03, 2009 at 09:12:41PM +0100, Laurent Desnogues wrote: > On Tue, Nov 3, 2009 at 8:50 PM, Glauber Costa wrote: > > There is absolutely no need to call reset functions when initializing > > devices. Since we are already registering them, calling qemu_system_reset() > > should suffice. Ac

Re: [Qemu-devel] [PATCH] don't call reset functions on cpu initialization

2009-11-03 Thread Laurent Desnogues
On Tue, Nov 3, 2009 at 9:16 PM, Glauber Costa wrote: > On Tue, Nov 03, 2009 at 09:12:41PM +0100, Laurent Desnogues wrote: >> On Tue, Nov 3, 2009 at 8:50 PM, Glauber Costa wrote: >> > There is absolutely no need to call reset functions when initializing >> > devices. Since we are already registeri

[Qemu-devel] [PATCH] don't call reset functions on cpu initialization

2009-11-03 Thread Glauber Costa
There is absolutely no need to call reset functions when initializing devices. Since we are already registering them, calling qemu_system_reset() should suffice. Actually, it is what happens when we reboot the machine, and using the same process instead of a special case semantics will even allow u