KVM: s390: streamline memslot handling
authorChristian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Mon, 25 May 2009 11:40:51 +0000 (13:40 +0200)
committerAvi Kivity <avi@redhat.com>
Thu, 10 Sep 2009 05:32:42 +0000 (08:32 +0300)
commit628eb9b8a8f3ef31d8316112a4596b1a21b38159
treedb34c09360a93e0bb888195745f45017abb07f14
parentb1d16c495d9e6fe48e7df2e1d18cafc6555a116a
KVM: s390: streamline memslot handling

This patch relocates the variables kvm-s390 uses to track guest mem addr/size.
As discussed dropping the variables at struct kvm_arch level allows to use the
common vcpu->request based mechanism to reload guest memory if e.g. changes
via set_memory_region.

The kick mechanism introduced in this series is used to ensure running vcpus
leave guest state to catch the update.

Signed-off-by: Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/s390/include/asm/kvm_host.h
arch/s390/kvm/gaccess.h
arch/s390/kvm/intercept.c
arch/s390/kvm/kvm-s390.c
arch/s390/kvm/kvm-s390.h
arch/s390/kvm/sigp.c