qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] spapr: increase temporary fdt buffer size


From: mike
Subject: Re: [Qemu-devel] [PATCH] spapr: increase temporary fdt buffer size
Date: Tue, 24 Sep 2013 18:05:47 +0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8

On 09/24/2013 01:59 PM, Alexey Kardashevskiy wrote:
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 <address@hidden>
---
  hw/ppc/spapr.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 1bb76f1..063fe63 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"
Signed-off-by: Mike Qiu <address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]