Skip to contentSkip to conversation

s390x: Fence huge pages prior to 3.1

PATCH Cornelia Huck 1 participant 1 message Oct 1, 2018 1 message not in the archive

lore
Share & tools
lore

Cornelia Huck

author Applied
#1 lore raw
In reply to a message not in the archive
Quoted 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
---
 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.