Re: [PATCH v4 04/21] s390x/pv: Convert to ram_block_discard_disable()

2020-06-16 Thread Cornelia Huck
On Wed, 10 Jun 2020 13:54:02 +0200 David Hildenbrand wrote: > Discarding RAM does not work as expected with protected VMs. Let's > switch to ram_block_discard_disable() for now, as we want to get rid > of qemu_balloon_inhibit(). Note that it will currently never fail, but > might fail in the

[PATCH v4 04/21] s390x/pv: Convert to ram_block_discard_disable()

2020-06-10 Thread David Hildenbrand
Discarding RAM does not work as expected with protected VMs. Let's switch to ram_block_discard_disable() for now, as we want to get rid of qemu_balloon_inhibit(). Note that it will currently never fail, but might fail in the future with new technologies (e.g., virtio-mem). Cc: Richard Henderson