s390x/kvm: passing max memory size to accelerator
commita310b283e357b54533c8168a92e8f1068efdc4d1
authorDominik Dingel <dingel@linux.vnet.ibm.com>
Thu, 5 Mar 2015 15:56:21 +0000 (5 16:56 +0100)
committerChristian Borntraeger <borntraeger@de.ibm.com>
Tue, 10 Mar 2015 08:26:23 +0000 (10 09:26 +0100)
treec3d11fe40aa2e4822b19f31743c641a5a96231be
parent5e5ced386a4ae74e406453dd5a7927936b1911aa
s390x/kvm: passing max memory size to accelerator

With "KVM: s390: Allow userspace to limit guest memory size" KVM is able to
do some optimizations based on the guest memory limit.

The guest memory limit is computed by the initial definition and with the notion of
hotplugged memory.

Reviewed-by: Thomas Huth <thuth@linux.vnet.ibm.com>
Reviewed-by: Guenther Hutzl <hutzl@linux.vnet.ibm.com>
Reviewed-by: David Hildenbrand <dahi@linux.vnet.ibm.com>
Signed-off-by: Dominik Dingel <dingel@linux.vnet.ibm.com>
Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com>
Message-Id: <1425570981-40609-3-git-send-email-jfrei@linux.vnet.ibm.com>
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>
hw/s390x/s390-virtio-ccw.c
target-s390x/cpu.h
target-s390x/kvm.c