diff --git a/hw/s390x/sclp.c b/hw/s390x/sclp.c index bd2a024efdb4e6cc3322228a89412b1bd59c7de6..4510a800cb3974372503fb422317a08e5ba8b4f1 100644 --- a/hw/s390x/sclp.c +++ b/hw/s390x/sclp.c @@ -320,6 +320,7 @@ static void sclp_memory_init(SCLPDevice *sclp) initial_mem = initial_mem >> increment_size << increment_size; machine->ram_size = initial_mem; + machine->maxram_size = initial_mem; /* let's propagate the changed ram size into the global variable. */ ram_size = initial_mem; }