[virtio-dev] Re: [Qemu-devel] [PATCH v7 0/5] virtio-balloon: free page hint reporting support

2018-06-05 Thread Michael S. Tsirkin
On Tue, Jun 05, 2018 at 02:42:40PM +0800, Peter Xu wrote: > > I think the answer is no - it doesn't matter; by telling the hypervisor > > the page is 'free' the kernel gives freedom to the hypervisor to > > discard the page contents. > > Yeh it seems so. Well not exactly. I replied to parent wit

[virtio-dev] Re: [Qemu-devel] [PATCH v7 0/5] virtio-balloon: free page hint reporting support

2018-06-05 Thread Michael S. Tsirkin
On Fri, Jun 01, 2018 at 04:33:29PM +0100, Dr. David Alan Gilbert wrote: > I think the answer is no - it doesn't matter; by telling the hypervisor > the page is 'free' the kernel gives freedom to the hypervisor to > discard the page contents. I'd like to call attention to this since it's easy to ge

[virtio-dev] Re: [Qemu-devel] [PATCH v7 0/5] virtio-balloon: free page hint reporting support

2018-06-01 Thread Wei Wang
On 06/01/2018 06:02 PM, Peter Xu wrote: On Fri, Jun 01, 2018 at 03:29:45PM +0800, Wei Wang wrote: On 06/01/2018 01:07 PM, Peter Xu wrote: On Fri, Jun 01, 2018 at 12:58:24PM +0800, Peter Xu wrote: On Tue, Apr 24, 2018 at 02:13:43PM +0800, Wei Wang wrote: This is the deivce part implementation

[virtio-dev] Re: [Qemu-devel] [PATCH v7 0/5] virtio-balloon: free page hint reporting support

2018-06-01 Thread Wei Wang
On 06/01/2018 01:07 PM, Peter Xu wrote: On Fri, Jun 01, 2018 at 12:58:24PM +0800, Peter Xu wrote: On Tue, Apr 24, 2018 at 02:13:43PM +0800, Wei Wang wrote: This is the deivce part implementation to add a new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT to the virtio-balloon device. The device recei

[virtio-dev] Re: [Qemu-devel] [PATCH v7 0/5] virtio-balloon: free page hint reporting support

2018-06-01 Thread Wei Wang
On 06/01/2018 12:58 PM, Peter Xu wrote: On Tue, Apr 24, 2018 at 02:13:43PM +0800, Wei Wang wrote: This is the deivce part implementation to add a new feature, VIRTIO_BALLOON_F_FREE_PAGE_HINT to the virtio-balloon device. The device receives the guest free page hints from the driver and clears th

[virtio-dev] Re: [Qemu-devel] [PATCH v7 0/5] virtio-balloon: free page hint reporting support

2018-05-29 Thread Michael S. Tsirkin
On Tue, May 29, 2018 at 11:00:21PM +0800, Hailiang Zhang wrote: > On 2018/4/24 14:13, Wei Wang wrote: > > This is the deivce part implementation to add a new feature, > > VIRTIO_BALLOON_F_FREE_PAGE_HINT to the virtio-balloon device. The device > > receives the guest free page hints from the driver