Re: [Qemu-devel] [RFC PATCH v2 08/12] spapr: Only setup HTP if necessary.

2017-03-02 Thread David Gibson
On Wed, Mar 01, 2017 at 04:17:43PM +1100, Suraj Jitindar Singh wrote: > On Tue, 2017-02-28 at 14:19 +1100, David Gibson wrote: > > On Tue, Feb 28, 2017 at 01:25:17PM +1100, Suraj Jitindar Singh wrote: > > > > > > On Tue, 2017-02-28 at 11:28 +1100, David Gibson wrote: > > > > > > > > s/HTP/HPT/ in

Re: [Qemu-devel] [RFC PATCH v2 08/12] spapr: Only setup HTP if necessary.

2017-02-28 Thread Suraj Jitindar Singh
On Tue, 2017-02-28 at 14:19 +1100, David Gibson wrote: > On Tue, Feb 28, 2017 at 01:25:17PM +1100, Suraj Jitindar Singh wrote: > > > > On Tue, 2017-02-28 at 11:28 +1100, David Gibson wrote: > > > > > > s/HTP/HPT/ in subject line. > > > > > > > > > On Thu, Feb 23, 2017 at 05:00:01PM +1100, Sam B

Re: [Qemu-devel] [RFC PATCH v2 08/12] spapr: Only setup HTP if necessary.

2017-02-27 Thread David Gibson
On Tue, Feb 28, 2017 at 01:25:17PM +1100, Suraj Jitindar Singh wrote: > On Tue, 2017-02-28 at 11:28 +1100, David Gibson wrote: > > s/HTP/HPT/ in subject line. > > > > > > On Thu, Feb 23, 2017 at 05:00:01PM +1100, Sam Bobroff wrote: > > > > > > If QEMU is using KVM, and KVM is capable of running

Re: [Qemu-devel] [RFC PATCH v2 08/12] spapr: Only setup HTP if necessary.

2017-02-27 Thread Suraj Jitindar Singh
On Tue, 2017-02-28 at 11:28 +1100, David Gibson wrote: > s/HTP/HPT/ in subject line. > > > On Thu, Feb 23, 2017 at 05:00:01PM +1100, Sam Bobroff wrote: > > > > If QEMU is using KVM, and KVM is capable of running in radix mode, > > guests can be run in real-mode without allocating a HPT (because

Re: [Qemu-devel] [RFC PATCH v2 08/12] spapr: Only setup HTP if necessary.

2017-02-27 Thread David Gibson
s/HTP/HPT/ in subject line. On Thu, Feb 23, 2017 at 05:00:01PM +1100, Sam Bobroff wrote: > If QEMU is using KVM, and KVM is capable of running in radix mode, > guests can be run in real-mode without allocating a HPT (because KVM > will use a minimal RPT). So in this case, we avoid creating the HP

[Qemu-devel] [RFC PATCH v2 08/12] spapr: Only setup HTP if necessary.

2017-02-22 Thread Sam Bobroff
If QEMU is using KVM, and KVM is capable of running in radix mode, guests can be run in real-mode without allocating a HPT (because KVM will use a minimal RPT). So in this case, we avoid creating the HPT at reset time and later (during CAS) create it if it is necessary. Signed-off-by: Sam Bobroff