diff options
author | 2012-11-19 23:28:34 +0000 | |
---|---|---|
committer | 2012-11-26 20:16:26 +0100 | |
commit | 8c7c3c58e3e33c80d1eef1514db3c705a4de692e (patch) | |
tree | cbbd33c5e0e7e670e9046411152041eb995dd360 /qapi/qapi-dealloc-visitor.c | |
parent | Merge remote-tracking branch 'qemu-kvm/uq/master' into staging (diff) | |
download | qemu-8c7c3c58e3e33c80d1eef1514db3c705a4de692e.tar.xz qemu-8c7c3c58e3e33c80d1eef1514db3c705a4de692e.zip |
s390: Fix ram_size updating in machine init
The global variable 'ram_size' is hidden by the local variable
declaration in s390_init(). Since we want to update the global
ram size in certain cases we must not use a local ram_size
variable.
- This fixes booting with unusual ram sizes like -m 67001
- This changes behaviour back to the situation before commit
5f072e1f3075bd869e0ace9f2545a85992ac0084
(create struct for machine initialization arguments)
Signed-off-by: Heinz Graalfs <graalfs@linux.vnet.ibm.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'qapi/qapi-dealloc-visitor.c')
0 files changed, 0 insertions, 0 deletions