On Tue, Aug 31, 2010 at 08:08:17AM -0500, Anthony Liguori wrote: > On 08/30/2010 09:58 PM, Isaku Yamahata wrote: > >>I was thinking that we should stick entirely within the qdev abstraction. > >> > >>The patchset I sent out introduced a cold reset as a qdev property on > >>the devices. > >> > >>For warm reset, if I understand correctly, we need two things. We need > >>to 1) control propagation order and we need to 2) differentiate > >>per-device between cold reset and warm reset. > >> > >>For (2), I don't know that we truly do need it. For something like PCI > >>AER, wouldn't we just move the AER initialization to the qdev init > >>function and then never change the AER registers during reset? > >> > >>IOW, the only way to do a cold reset would be to destroy and recreate > >>the device. > >I'm lost here. Then, what should qdev_reset() do? > > I don't know, that's what I'm trying to understand. > > As of this moment, you've convinced me that it should be a warm > reset. However, I'm not yet convinced that we need to allow buses > to change the propagation path of the warm reset. > System_reset should do cold reset like it does now. -- Gleb.
- [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish warm re... Isaku Yamahata
- [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish war... Paolo Bonzini
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish war... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish... Blue Swirl
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: disting... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: dis... Blue Swirl
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Anthony Liguori
- [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish warm reset f... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish war... Isaku Yamahata
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: distinguish... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: disting... Gleb Natapov
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC: dis... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Gleb Natapov
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Avi Kivity
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Avi Kivity
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Anthony Liguori
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Gleb Natapov
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Avi Kivity
- Re: [Qemu-devel] Re: [PATCH 5/5] RFC... Anthony Liguori