Janosch Frank 2e4d88009f KVM: s390: Fix guest migration for huge guests resulting in panic
While we can technically not run huge page guests right now, we can
setup a guest with huge pages. Trying to migrate it will trigger a
VM_BUG_ON and, if the kernel is not configured to panic on a BUG, it
will happily try to work on non-existing page table entries.

With this patch, we always return "dirty" if we encounter a large page
when migrating. This at least fixes the immediate problem until we
have proper handling for both kind of pages.

Fixes: 15f36eb ("KVM: s390: Add proper dirty bitmap support to S390 kvm.")
Cc: <stable@vger.kernel.org> # 3.16+

Signed-off-by: Janosch Frank <frankja@linux.vnet.ibm.com>
Acked-by: Christian Borntraeger <borntraeger@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2017-03-02 17:17:16 +01:00
..
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00
2017-02-27 18:43:48 -08:00