On 03/05/2018 01:54 PM, Cornelia Huck wrote: > On Wed, 28 Feb 2018 19:53:20 +0000 > Christian Borntraeger <borntrae...@de.ibm.com> wrote: > >> When a guests reboots with diagnose 308 subcode 3 it requests the memory >> to be cleared. We did not do it so far. This does not only violate the >> architecture, it also misses the chance to free up that memory on >> reboot, which would help on host memory over commitment. By using >> ram_block_discard_range we can cover both cases. >> >> Signed-off-by: Christian Borntraeger <borntrae...@de.ibm.com> >> --- >> target/s390x/kvm.c | 19 +++++++++++++++++++ >> 1 file changed, 19 insertions(+) > > So, this needs more thought (and additional kernel changes)? (Trying to > pick up patches that make sense for 2.12.)
Yes, lets defer this.