diff options
author | David Hildenbrand <dahi@linux.vnet.ibm.com> | 2015-05-29 15:01:55 +0200 |
---|---|---|
committer | Cornelia Huck <cornelia.huck@de.ibm.com> | 2015-09-07 16:10:44 +0200 |
commit | 80d23275e3c4bc93fa6f123613d5ff389ed3fc62 (patch) | |
tree | 289a9138005fd0992c266f98b5b5977eb86d3e64 /hw/s390x/s390-virtio.h | |
parent | 1cf065fb87e8787e3e9cebcdb4713b81e4e61422 (diff) | |
download | qemu-80d23275e3c4bc93fa6f123613d5ff389ed3fc62.tar.gz qemu-80d23275e3c4bc93fa6f123613d5ff389ed3fc62.tar.bz2 qemu-80d23275e3c4bc93fa6f123613d5ff389ed3fc62.zip |
s390: unify allocation of initial memory
Now that the calculation of the initial memory is hidden in the sclp
device, we can unify the allocation of the initial memory.
The remaining ugly part is the reserved memory for the virtio queues,
but that can be cleaned up later.
Reviewed-by: Matthew Rosato <mjrosato@linux.vnet.ibm.com>
Signed-off-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
Diffstat (limited to 'hw/s390x/s390-virtio.h')
-rw-r--r-- | hw/s390x/s390-virtio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/s390x/s390-virtio.h b/hw/s390x/s390-virtio.h index cf687968b4..f389aa1a67 100644 --- a/hw/s390x/s390-virtio.h +++ b/hw/s390x/s390-virtio.h @@ -27,4 +27,5 @@ void s390_init_ipl_dev(const char *kernel_filename, bool enforce_bios); void s390_create_virtio_net(BusState *bus, const char *name); void s390_nmi(NMIState *n, int cpu_index, Error **errp); +void s390_memory_init(ram_addr_t mem_size); #endif |