diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2012-12-03 16:42:16 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2012-12-14 13:12:58 +0100 |
commit | a64ae610b978dfd8ccfb7f6c5d4cfe62d7542fbd (patch) | |
tree | 0f1737aaec200c90a1d2aee62833316650545244 | |
parent | b162d02e9450201c656edce290f33994a6d2ad33 (diff) |
pseries: Increase default NVRAM size
If no image file for NVRAM is specified, the pseries machine currently
creates a 16K non-persistent NVRAM by default. This basically works, but
is not large enough for current firmware and guest kernels to create all
the NVRAM partitions they would like to. Increasing the default size to
64K addresses this and stops the guest generating error messages.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r-- | hw/spapr_nvram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/spapr_nvram.c b/hw/spapr_nvram.c index 641de485f9..512bb8d5d1 100644 --- a/hw/spapr_nvram.c +++ b/hw/spapr_nvram.c @@ -37,7 +37,7 @@ typedef struct sPAPRNVRAM { } sPAPRNVRAM; #define MIN_NVRAM_SIZE 8192 -#define DEFAULT_NVRAM_SIZE 16384 +#define DEFAULT_NVRAM_SIZE 65536 #define MAX_NVRAM_SIZE (UINT16_MAX * 16) static void rtas_nvram_fetch(sPAPREnvironment *spapr, |