From: Christian Borntraeger Date: Wed, 3 Sep 2014 19:23:13 +0000 (+0200) Subject: KVM: s390/cmm: Fix prefix handling for diag 10 balloon X-Git-Tag: fixes-for-v3.18-merge-window~23^2~39^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7a960affc6e5a33e8c7fcef065affc4f0461041;p=pandora-kernel.git KVM: s390/cmm: Fix prefix handling for diag 10 balloon The old handling of prefix pages was broken in the diag10 ballooner. We now rely on gmap_discard to check for start > end and do a slow path if the prefix swap pages are affected: 1. discard the pages from start to prefix 2. discard the absolute 0 pages 3. discard the pages after prefix swap to end Signed-off-by: Christian Borntraeger Reviewed-by: Thomas Huth --- Reading git-diff-tree failed