summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Kardashevskiy <aik@ozlabs.ru>2013-09-24 15:59:55 +1000
committerAlexander Graf <agraf@suse.de>2013-10-25 23:25:46 +0200
commit3bf6eedd4b6ee5cb7be53aa962583a24293d3441 (patch)
tree921bf741f5e4f59f5b39340d5f2c488127052354
parent9633fcc6a02f23e3ef00aa5fe3fe9c41f57c3456 (diff)
downloadhqemu-3bf6eedd4b6ee5cb7be53aa962583a24293d3441.zip
hqemu-3bf6eedd4b6ee5cb7be53aa962583a24293d3441.tar.gz
spapr: increase temporary fdt buffer size
At the moment the size of the buffer is set to 64K which is enough for approximately 150 VCPUs which is not the limit. This increases the buffer up to 256K which allows having a tree for approximately 600 VCPUs which is way beyond the real number we need. As only the real size of the tree is copied to the guest, there will be no impact on existing configurations. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r--hw/ppc/spapr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 5bf6c3b..6322c98 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -62,7 +62,7 @@
*
* We load our kernel at 4M, leaving space for SLOF initial image
*/
-#define FDT_MAX_SIZE 0x10000
+#define FDT_MAX_SIZE 0x40000
#define RTAS_MAX_SIZE 0x10000
#define FW_MAX_SIZE 0x400000
#define FW_FILE_NAME "slof.bin"
OpenPOWER on IntegriCloud