Re: [Qemu-devel] [RFC PATCH 5/9] spapr: Only setup HTP if necessary.

2017-02-08 Thread David Gibson
On Tue, Feb 07, 2017 at 01:56:48PM +1100, Sam Bobroff wrote: > Because KVM cannot support radix and hash modes concurrently, QEMU can > avoid allocating a hash page table if KVM supports radix mode. > > Signed-off-by: Sam Bobroff This isn't quite right, it's doing the HPT handling based on wheth

[Qemu-devel] [RFC PATCH 5/9] spapr: Only setup HTP if necessary.

2017-02-06 Thread Sam Bobroff
Because KVM cannot support radix and hash modes concurrently, QEMU can avoid allocating a hash page table if KVM supports radix mode. Signed-off-by: Sam Bobroff --- hw/ppc/spapr.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c i