Re: [Qemu-devel] [RFC PATCH v0 2/2] spapr: Abort when HTAB of requested size isn't allocated

2015-09-23 Thread David Gibson
On Thu, Sep 24, 2015 at 09:13:58AM +0530, Bharata B Rao wrote: > On Wed, Sep 23, 2015 at 01:29:51PM +1000, David Gibson wrote: > > On Tue, Sep 22, 2015 at 09:09:49AM +0530, Bharata B Rao wrote: > > > Terminate the guest when HTAB of requested size isn't allocated by > > > the host. > > > > > > Whe

Re: [Qemu-devel] [RFC PATCH v0 2/2] spapr: Abort when HTAB of requested size isn't allocated

2015-09-23 Thread Bharata B Rao
On Wed, Sep 23, 2015 at 01:29:51PM +1000, David Gibson wrote: > On Tue, Sep 22, 2015 at 09:09:49AM +0530, Bharata B Rao wrote: > > Terminate the guest when HTAB of requested size isn't allocated by > > the host. > > > > When memory hotplug is attempted on a guest that has booted with > > less than

Re: [Qemu-devel] [RFC PATCH v0 2/2] spapr: Abort when HTAB of requested size isn't allocated

2015-09-22 Thread David Gibson
On Tue, Sep 22, 2015 at 09:09:49AM +0530, Bharata B Rao wrote: > Terminate the guest when HTAB of requested size isn't allocated by > the host. > > When memory hotplug is attempted on a guest that has booted with > less than requested HTAB size, the guest kernel will not be able > to gracefully fa

[Qemu-devel] [RFC PATCH v0 2/2] spapr: Abort when HTAB of requested size isn't allocated

2015-09-21 Thread Bharata B Rao
Terminate the guest when HTAB of requested size isn't allocated by the host. When memory hotplug is attempted on a guest that has booted with less than requested HTAB size, the guest kernel will not be able to gracefully fail the hotplug request. This patch will ensure that we never end up in a si