Re: [Qemu-devel] [PATCH 5/6] spapr: Clean up DRC set_allocation_state path

2017-06-19 Thread Greg Kurz
On Thu, 8 Jun 2017 15:09:29 +1000 David Gibson wrote: > The allocation-state indicator should only actually be implemented for > "logical" DRCs, not physical ones. Factor a check for this, and also for > valid indicator state values into

[Qemu-devel] [PATCH 5/6] spapr: Clean up DRC set_allocation_state path

2017-06-07 Thread David Gibson
The allocation-state indicator should only actually be implemented for "logical" DRCs, not physical ones. Factor a check for this, and also for valid indicator state values into rtas_set_allocation_state(). Because they don't exist for physical DRCs, there's no reason that we'd ever want more