Re: [Qemu-devel] [PATCH 4/6] spapr: Make DRC reset force DRC into known state

2017-06-21 Thread David Gibson
On Tue, Jun 20, 2017 at 01:53:28PM +0530, Bharata B Rao wrote: > On Thu, Jun 08, 2017 at 03:09:28PM +1000, David Gibson wrote: > > The reset handler for DRCs attempts several state transitions which are > > subject to various checks and restrictions. But at reset time we know > > there is no

Re: [Qemu-devel] [PATCH 4/6] spapr: Make DRC reset force DRC into known state

2017-06-20 Thread Bharata B Rao
On Thu, Jun 08, 2017 at 03:09:28PM +1000, David Gibson wrote: > The reset handler for DRCs attempts several state transitions which are > subject to various checks and restrictions. But at reset time we know > there is no guest, so we can ignore most of the usual sequencing rules and > just set

Re: [Qemu-devel] [PATCH 4/6] spapr: Make DRC reset force DRC into known state

2017-06-19 Thread Greg Kurz
On Thu, 8 Jun 2017 15:09:28 +1000 David Gibson wrote: > The reset handler for DRCs attempts several state transitions which are > subject to various checks and restrictions. But at reset time we know > there is no guest, so we can ignore most of the usual

[Qemu-devel] [PATCH 4/6] spapr: Make DRC reset force DRC into known state

2017-06-07 Thread David Gibson
The reset handler for DRCs attempts several state transitions which are subject to various checks and restrictions. But at reset time we know there is no guest, so we can ignore most of the usual sequencing rules and just set the DRC back to a known state. In fact, it's safer to do so. The