summary refs log tree commit diff stats
path: root/hw/core/loader.c
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2019-09-24 10:47:50 -0400
committerChristian Borntraeger <borntraeger@de.ibm.com>2019-09-30 13:51:50 +0200
commit023ae9a88a7cfbdf6f23c3b78ccfcb9b1e26da98 (patch)
treea6cce4fc2cf06cabb13b4fa7cd1ba38d30e158a6 /hw/core/loader.c
parent84516e5b8db66b8a169a8fdd4c25568ed0b67a3a (diff)
downloadfocaccia-qemu-023ae9a88a7cfbdf6f23c3b78ccfcb9b1e26da98.tar.gz
focaccia-qemu-023ae9a88a7cfbdf6f23c3b78ccfcb9b1e26da98.zip
kvm: split too big memory section on several memslots
Max memslot size supported by kvm on s390 is 8Tb,
move logic of splitting RAM in chunks upto 8T to KVM code.

This way it will hide KVM specific restrictions in KVM code
and won't affect board level design decisions. Which would allow
us to avoid misusing memory_region_allocate_system_memory() API
and eventually use a single hostmem backend for guest RAM.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20190924144751.24149-4-imammedo@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Acked-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
Diffstat (limited to 'hw/core/loader.c')
0 files changed, 0 insertions, 0 deletions