Re: [PATCH for-6.0] spapr: Allow memory unplug to always succeed

2020-12-10 Thread Greg Kurz
On Thu, 10 Dec 2020 14:38:44 +1100 David Gibson wrote: > On Tue, Dec 08, 2020 at 10:06:09AM +0100, Greg Kurz wrote: > > On Tue, 8 Dec 2020 15:30:04 +1100 > > David Gibson wrote: > > > > > On Mon, Dec 07, 2020 at 02:37:04PM +0100, Greg Kurz wrote: > > > > It is currently impossible to hot-unplug

Re: [PATCH for-6.0] spapr: Allow memory unplug to always succeed

2020-12-09 Thread David Gibson
On Tue, Dec 08, 2020 at 10:06:09AM +0100, Greg Kurz wrote: > On Tue, 8 Dec 2020 15:30:04 +1100 > David Gibson wrote: > > > On Mon, Dec 07, 2020 at 02:37:04PM +0100, Greg Kurz wrote: > > > It is currently impossible to hot-unplug a memory device between > > > machine reset and CAS. > > > > > > (q

Re: [PATCH for-6.0] spapr: Allow memory unplug to always succeed

2020-12-08 Thread Greg Kurz
On Tue, 8 Dec 2020 15:30:04 +1100 David Gibson wrote: > On Mon, Dec 07, 2020 at 02:37:04PM +0100, Greg Kurz wrote: > > It is currently impossible to hot-unplug a memory device between > > machine reset and CAS. > > > > (qemu) device_del dimm1 > > Error: Memory hot unplug not supported for this g

Re: [PATCH for-6.0] spapr: Allow memory unplug to always succeed

2020-12-07 Thread David Gibson
On Mon, Dec 07, 2020 at 02:37:04PM +0100, Greg Kurz wrote: > It is currently impossible to hot-unplug a memory device between > machine reset and CAS. > > (qemu) device_del dimm1 > Error: Memory hot unplug not supported for this guest > > This limitation was introduced in order to provide an expl

[PATCH for-6.0] spapr: Allow memory unplug to always succeed

2020-12-07 Thread Greg Kurz
It is currently impossible to hot-unplug a memory device between machine reset and CAS. (qemu) device_del dimm1 Error: Memory hot unplug not supported for this guest This limitation was introduced in order to provide an explicit error path for older guests that didn't support hot-plug event sourc