s390x: Fence huge pages prior to 3.1
Cornelia Huck
AppliedQuoted 8 lines · On Fri, 28 Sep 2018 11:34:35 +0200 Janosch Frank <[email protected]> wrote:
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.
Quoted 6 lines
Signed-off-by Janosch Frank <[email protected]>--- hw/s390x/s390-virtio-ccw.c | 10 ++++++++++ include/hw/s390x/s390-virtio-ccw.h | 3 +++ target/s390x/kvm.c | 6 ++++++ 3 files changed, 19 insertions(+)
Thanks, applied.