[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 17/21] pseries: Enable HPT resizing for 2.10
From: |
David Gibson |
Subject: |
[Qemu-devel] [PULL 17/21] pseries: Enable HPT resizing for 2.10 |
Date: |
Mon, 17 Jul 2017 16:56:17 +1000 |
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 <address@hidden>
Reviewed-by: Laurent Vivier <address@hidden>
---
hw/ppc/spapr.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index c0bc935c59..3a925ef18a 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -3433,7 +3433,7 @@ static void spapr_machine_class_init(ObjectClass *oc,
void *data)
smc->dr_lmb_enabled = true;
smc->tcg_default_cpu = "POWER8";
mc->has_hotpluggable_cpus = true;
- smc->resize_hpt_default = SPAPR_RESIZE_HPT_DISABLED;
+ smc->resize_hpt_default = SPAPR_RESIZE_HPT_ENABLED;
fwc->get_dev_path = spapr_get_fw_dev_path;
nc->nmi_monitor_handler = spapr_nmi;
smc->phb_placement = spapr_phb_placement;
@@ -3540,6 +3540,7 @@ static void spapr_machine_2_9_class_options(MachineClass
*mc)
SET_MACHINE_COMPAT(mc, SPAPR_COMPAT_2_9);
mc->numa_auto_assign_ram = numa_legacy_auto_assign_ram;
smc->pre_2_10_has_unused_icps = true;
+ smc->resize_hpt_default = SPAPR_RESIZE_HPT_DISABLED;
}
DEFINE_SPAPR_MACHINE(2_9, "2.9", false);
--
2.13.3
- [Qemu-devel] [PULL 07/21] spapr: Abort on delete failure in spapr_drc_release(), (continued)
- [Qemu-devel] [PULL 07/21] spapr: Abort on delete failure in spapr_drc_release(), David Gibson, 2017/07/17
- [Qemu-devel] [PULL 01/21] spapr: Remove unnecessary instance_size specifications from DRC subtypes, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 20/21] spapr: fix memory leak in spapr_core_pre_plug(), David Gibson, 2017/07/17
- [Qemu-devel] [PULL 06/21] spapr: Simplify unplug path, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 05/21] spapr: Remove 'awaiting_allocation' DRC flag, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 08/21] spapr: Refactor spapr_drc_detach(), David Gibson, 2017/07/17
- [Qemu-devel] [PULL 02/21] spapr: migrate pending_events of spapr state, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 09/21] spapr: Cleanups relating to DRC awaiting_release field, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 14/21] ppc/pnv: Remove unused XICSState reference, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 13/21] spapr: fix potential memory leak in spapr_core_plug(), David Gibson, 2017/07/17
- [Qemu-devel] [PULL 17/21] pseries: Enable HPT resizing for 2.10,
David Gibson <=
- [Qemu-devel] [PULL 03/21] spapr: Minor cleanups to events handling, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 19/21] pseries: Allow HPT resizing with KVM, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 12/21] spapr: Implement DR-indicator for physical DRCs only, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 10/21] spapr: Consolidate DRC state variables, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 21/21] target/ppc: fix CPU hotplug when radix is enabled (TCG), David Gibson, 2017/07/17
- [Qemu-devel] [PULL 11/21] spapr: Remove sPAPRConfigureConnectorState sub-structure, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 18/21] pseries: Use smaller default hash page tables when guest can resize, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 15/21] pseries: Stubs for HPT resizing, David Gibson, 2017/07/17
- [Qemu-devel] [PULL 16/21] pseries: Implement HPT resizing, David Gibson, 2017/07/17
- Re: [Qemu-devel] [PULL 00/21] ppc-for-2.10 queue 20170717, Peter Maydell, 2017/07/17