[virtio-dev] [PATCH v16 QEMU 4/3 RFC] memory: Add support for MADV_FREE as mechanism to lazy discard pages

2020-01-03 Thread Alexander Duyck
From: Alexander Duyck Add support for the MADV_FREE advice argument when discarding pages. Specifically we add an option to perform a lazy discard for use with free page reporting as this allows us to avoid expensive page zeroing in the case that the system is not under memory pressure. To

[virtio-dev] [PATCH v16 QEMU 2/3] virtio-balloon: Add support for providing free page reports to host

2020-01-03 Thread Alexander Duyck
From: Alexander Duyck Add support for the page reporting feature provided by virtio-balloon. Reporting differs from the regular balloon functionality in that is is much less durable than a standard memory balloon. Instead of creating a list of pages that cannot be accessed the pages are only

[virtio-dev] [PATCH v16 QEMU 3/3] virtio-balloon: Provide a interface for free page reporting

2020-01-03 Thread Alexander Duyck
From: Alexander Duyck Add support for what I am referring to as "free page reporting". Basically the idea is to function very similar to how the balloon works in that we basically end up madvising the page as not being used. However we don't really need to bother with any deflate type logic

[virtio-dev] [PATCH v16 QEMU 1/3] virtio-ballon: Implement support for page poison tracking feature

2020-01-03 Thread Alexander Duyck
From: Alexander Duyck We need to make certain to advertise support for page poison tracking if we want to actually get data on if the guest will be poisoning pages. So if free page hinting is active we should add page poisoning support and let the guest disable it if it isn't using it. Page

[virtio-dev] Re: [PATCH v2 1/1] virtio-video: Add virtio video device specification

2020-01-03 Thread Dmitry Sepp
Hi Keiichi, On Mittwoch, 18. Dezember 2019 14:02:14 CET Keiichi Watanabe wrote: > From: Dmitry Sepp > > The virtio video encoder device and decoder device provide functionalities > to encode and decode video stream respectively. > Though video encoder and decoder are provided as different

[virtio-dev] Re: [PATCH v2 0/1] VirtIO video device specification

2020-01-03 Thread Dmitry Sepp
Hi Tomasz, Keiichi, On Samstag, 21. Dezember 2019 07:19:23 CET Tomasz Figa wrote: > On Sat, Dec 21, 2019 at 3:18 PM Tomasz Figa wrote: > > On Sat, Dec 21, 2019 at 1:36 PM Keiichi Watanabe wrote: > > > Hi Dmitry, > > > > > > On Sat, Dec 21, 2019 at 12:59 AM Dmitry Sepp > > > > > > wrote: > >

Re: [virtio-dev] Re: [PATCH v1 2/2] virtio-mmio: add features for virtio-mmio specification version 3

2020-01-03 Thread Jason Wang
On 2020/1/3 下午2:14, Liu, Jiang wrote: Ok, I get you now. But still, having fixed number of MSIs is less flexible. E.g: - for x86, processor can only deal with about 250 interrupt vectors. - driver may choose to share MSI vectors [1] (which is not merged but we will for sure need it) Thanks