summaryrefslogtreecommitdiffstats
path: root/include/hw/ppc/spapr.h
diff options
context:
space:
mode:
authorDavid Gibson2015-08-12 05:16:48 +0200
committerDavid Gibson2015-09-23 02:51:10 +0200
commit224245bf524189789d231f38434c9f8fd57a249c (patch)
tree5dc523516dece629ce5ea2efb00163bd2aa31fc7 /include/hw/ppc/spapr.h
parentspapr: Use QEMU limit for maximum CPUs number (diff)
downloadqemu-224245bf524189789d231f38434c9f8fd57a249c.tar.gz
qemu-224245bf524189789d231f38434c9f8fd57a249c.tar.xz
qemu-224245bf524189789d231f38434c9f8fd57a249c.zip
spapr: Add LMB DR connectors
Enable memory hotplug for pseries 2.4 and add LMB DR connectors. With memory hotplug, enforce RAM size, NUMA node memory size and maxmem to be a multiple of SPAPR_MEMORY_BLOCK_SIZE (256M) since that's the granularity in which LMBs are represented and hot-added. LMB DR connectors will be used by the memory hotplug code. Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com> Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com> [spapr_drc_reset implementation] [since this missed the 2.4 cutoff, changing to only enable for 2.5] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include/hw/ppc/spapr.h')
-rw-r--r--include/hw/ppc/spapr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h
index e882770db7..5de54d4a93 100644
--- a/include/hw/ppc/spapr.h
+++ b/include/hw/ppc/spapr.h
@@ -35,6 +35,7 @@ struct sPAPRMachineClass {
MachineClass parent_class;
/*< public >*/
+ bool dr_lmb_enabled; /* enable dynamic-reconfig/hotplug of LMBs */
};
/**