Re: [Qemu-devel] [RFC PATCH v0 1/2] spapr: Allocate HTAB from machine init

2015-09-23 Thread David Gibson
On Thu, Sep 24, 2015 at 09:11:52AM +0530, Bharata B Rao wrote: > On Wed, Sep 23, 2015 at 01:28:53PM +1000, David Gibson wrote: > > On Tue, Sep 22, 2015 at 09:09:48AM +0530, Bharata B Rao wrote: > > > Allocate HTAB from ppc_spapr_init() so that we can abort the guest > > > if requested HTAB size is'

Re: [Qemu-devel] [RFC PATCH v0 1/2] spapr: Allocate HTAB from machine init

2015-09-23 Thread Bharata B Rao
On Wed, Sep 23, 2015 at 01:28:53PM +1000, David Gibson wrote: > On Tue, Sep 22, 2015 at 09:09:48AM +0530, Bharata B Rao wrote: > > Allocate HTAB from ppc_spapr_init() so that we can abort the guest > > if requested HTAB size is't allocated by the host. However retain the > > htab reset call in spap

Re: [Qemu-devel] [RFC PATCH v0 1/2] spapr: Allocate HTAB from machine init

2015-09-22 Thread David Gibson
On Tue, Sep 22, 2015 at 09:09:48AM +0530, Bharata B Rao wrote: > Allocate HTAB from ppc_spapr_init() so that we can abort the guest > if requested HTAB size is't allocated by the host. However retain the > htab reset call in spapr_reset_htab() so that HTAB gets reset (and > not allocated) during ma

[Qemu-devel] [RFC PATCH v0 1/2] spapr: Allocate HTAB from machine init

2015-09-21 Thread Bharata B Rao
Allocate HTAB from ppc_spapr_init() so that we can abort the guest if requested HTAB size is't allocated by the host. However retain the htab reset call in spapr_reset_htab() so that HTAB gets reset (and not allocated) during machine reset. Signed-off-by: Bharata B Rao --- hw/ppc/spapr.c | 13 ++