pseries: Enable HPT resizing for 2.10
commit52b81ab5e95a64cb6973fc4d60d2319c4305ddf8
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 12 Jul 2017 07:53:17 +0000 (12 17:53 +1000)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 17 Jul 2017 05:07:05 +0000 (17 15:07 +1000)
treee142f8d94d2428723dab5cf0a8cf216af5568500
parent0b0b831016ae93bc14698a5d7202eb77feafea75
pseries: Enable HPT resizing for 2.10

We've now implemented a PAPR extensions which allows PAPR guests (i.e.
"pseries" machine type) to resize their hash page table during runtime.

However, that extension is only enabled if explicitly chosen on the
command line.  This patch enables it by default for spapr-2.10, but leaves
it disabled (by default) for older machine types.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Laurent Vivier <lvivier@redhat.com>
hw/ppc/spapr.c