Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-05 Thread Christian Borntraeger
On 03/05/2018 01:54 PM, Cornelia Huck wrote: > On Wed, 28 Feb 2018 19:53:20 + > Christian Borntraeger 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 misse

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-05 Thread Cornelia Huck
On Wed, 28 Feb 2018 19:53:20 + Christian Borntraeger 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 w

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Dr. David Alan Gilbert
* Christian Borntraeger (borntrae...@de.ibm.com) wrote: > > > On 03/01/2018 01:35 PM, Christian Borntraeger wrote: > > > > > > On 03/01/2018 01:28 PM, Dr. David Alan Gilbert wrote: > >> * Christian Borntraeger (borntrae...@de.ibm.com) wrote: > >>> > >>> > >>> On 03/01/2018 12:45 PM, Dr. David A

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Dr. David Alan Gilbert
* Christian Borntraeger (borntrae...@de.ibm.com) wrote: > > > On 03/01/2018 01:28 PM, Dr. David Alan Gilbert wrote: > > * Christian Borntraeger (borntrae...@de.ibm.com) wrote: > >> > >> > >> On 03/01/2018 12:45 PM, Dr. David Alan Gilbert wrote: > >>> * Christian Borntraeger (borntrae...@de.ibm.co

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Christian Borntraeger
On 03/01/2018 01:35 PM, Christian Borntraeger wrote: > > > On 03/01/2018 01:28 PM, Dr. David Alan Gilbert wrote: >> * Christian Borntraeger (borntrae...@de.ibm.com) wrote: >>> >>> >>> On 03/01/2018 12:45 PM, Dr. David Alan Gilbert wrote: * Christian Borntraeger (borntrae...@de.ibm.com) wro

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Christian Borntraeger
On 03/01/2018 01:28 PM, Dr. David Alan Gilbert wrote: > * Christian Borntraeger (borntrae...@de.ibm.com) wrote: >> >> >> On 03/01/2018 12:45 PM, Dr. David Alan Gilbert wrote: >>> * Christian Borntraeger (borntrae...@de.ibm.com) wrote: On 03/01/2018 10:24 AM, Dr. David Alan Gilbert

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Dr. David Alan Gilbert
* Christian Borntraeger (borntrae...@de.ibm.com) wrote: > > > On 03/01/2018 12:45 PM, Dr. David Alan Gilbert wrote: > > * Christian Borntraeger (borntrae...@de.ibm.com) wrote: > >> > >> > >> On 03/01/2018 10:24 AM, Dr. David Alan Gilbert wrote: > >>> * Thomas Huth (th...@redhat.com) wrote: >

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Christian Borntraeger
On 03/01/2018 12:45 PM, Dr. David Alan Gilbert wrote: > * Christian Borntraeger (borntrae...@de.ibm.com) wrote: >> >> >> On 03/01/2018 10:24 AM, Dr. David Alan Gilbert wrote: >>> * Thomas Huth (th...@redhat.com) wrote: On 28.02.2018 20:53, Christian Borntraeger wrote: > When a guests reb

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Dr. David Alan Gilbert
* Christian Borntraeger (borntrae...@de.ibm.com) wrote: > > > On 03/01/2018 10:24 AM, Dr. David Alan Gilbert wrote: > > * Thomas Huth (th...@redhat.com) wrote: > >> On 28.02.2018 20:53, Christian Borntraeger wrote: > >>> When a guests reboots with diagnose 308 subcode 3 it requests the memory > >

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Christian Borntraeger
On 03/01/2018 10:24 AM, Dr. David Alan Gilbert wrote: > * Thomas Huth (th...@redhat.com) wrote: >> On 28.02.2018 20:53, Christian Borntraeger 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

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Dr. David Alan Gilbert
* Thomas Huth (th...@redhat.com) wrote: > On 28.02.2018 20:53, Christian Borntraeger 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

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread David Hildenbrand
On 28.02.2018 20:53, Christian Borntraeger 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 hos

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-03-01 Thread Paolo Bonzini
On 01/03/2018 04:58, Thomas Huth 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 memo

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-02-28 Thread Christian Borntraeger
On 03/01/2018 04:58 AM, Thomas Huth wrote: > On 28.02.2018 20:53, Christian Borntraeger 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 u

Re: [Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-02-28 Thread Thomas Huth
On 28.02.2018 20:53, Christian Borntraeger 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 hos

[Qemu-devel] [PATCH 1/1] s390/kvm: implement clearing part of IPL clear

2018-02-28 Thread Christian Borntraeger
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_rang