s390x: Fence huge pages prior to 3.1
commit28221f9c999a9b34f58d94599da9c229df9a4fed
authorJanosch Frank <frankja@linux.ibm.com>
Fri, 28 Sep 2018 09:34:35 +0000 (28 11:34 +0200)
committerCornelia Huck <cohuck@redhat.com>
Thu, 4 Oct 2018 08:32:39 +0000 (4 10:32 +0200)
tree175191aa874838eae396108e6be32b2a289c58d6
parentcb89b349074310ff9eb7ebe18a8ae24d7d9ea3fb
s390x: Fence huge pages prior to 3.1

As the kernel has no way of disallowing the start of a huge page
backed VM, we can migrate a running huge backed VM to a host that has
no huge page KVM support.

Let's glue huge page support support to the 3.1 machine, so we do not
migrate to a destination host that doesn't have QEMU huge page support
and can stop migration if KVM doesn't indicate support.

Signed-off-by: Janosch Frank <frankja@linux.ibm.com>
Message-Id: <20180928093435.198573-1-frankja@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
hw/s390x/s390-virtio-ccw.c
include/hw/s390x/s390-virtio-ccw.h
target/s390x/kvm.c