Re: [virtio-dev] [RFC RESEND] virtio-video: Add virtio video device specification

2019-12-05 Thread Gerd Hoffmann
Hi, > > > > > +\subsection{Device ID}\label{sec:Device Types / Video Device / > > > > > Device ID} > > > > > + > > > > > +TBD. > > > > > > > > I'm wondering how and when we can determine and reserve this ID? > > > > > > Grab the next free, update the spec accordingly, submit the one-line > > >

Re: [virtio-dev] Re: [PATCH] virtio-gpu: add shared resource feature

2019-12-05 Thread Gurchetan Singh
On Wed, Dec 4, 2019 at 11:09 PM Gerd Hoffmann wrote: > > Hi, > > > If the following scenario happens: > > > > 1) Driver sends RESOURCE_CREATE_2D shared request > > 2) Driver sends ATTACH_BACKING request > > 3) Device creates a shared resource > > 4) Driver sends SET_SCANOUT request > > 5) Device

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

2019-12-05 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 enabl

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

2019-12-05 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 pois

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

2019-12-05 Thread Alexander Duyck
From: Alexander Duyck Add support for what I am referring to as "unused 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 sin

[virtio-dev] [PATCH v15 QEMU 2/3] virtio-balloon: Add bit to notify guest of unused page reporting

2019-12-05 Thread Alexander Duyck
From: Alexander Duyck Add a bit for the page reporting feature provided by virtio-balloon. This patch should be replaced once the feature is added to the Linux kernel and the bit is backported into this exported kernel header. Signed-off-by: Alexander Duyck --- include/standard-headers/linux/

[virtio-dev] [RFC] virtio video driver

2019-12-05 Thread Dmitry Sepp
Hello, My apologies for the long delay. The driver code is now available and provided as a follow-up to the discussion from this thread [1]. The reference Linux kernel 5.4 driver implementation is located here: https://github.com/OpenSynergy/linux/tree/virtio-video-draft-v1 The driver is implem

Re: [virtio-dev] [PATCH] snd: Add virtio sound device specification

2019-12-05 Thread Anton Yakovlev
Hi, On 04.12.2019 13:52, Gerd Hoffmann wrote: For example, in case of GUEST_MEM the request could be followed by a buffer sg-list. I'm not convinced guest_mem is that useful. host_mem allows to give the guest access to the buffers used by the hosts sound hardware, which is probably what you n

Re: [virtio-dev] [RFC RESEND] virtio-video: Add virtio video device specification

2019-12-05 Thread Keiichi Watanabe
Hi, On Thu, Dec 5, 2019 at 4:12 AM Enrico Granata wrote: > > On Wed, Dec 4, 2019 at 1:16 AM Gerd Hoffmann wrote: > > > > Hi, > > > > > 1. Focus on only decoder/encoder functionalities first. > > > > > > As Tomasz said earlier in this thread, it'd be too complicated to support > > > camera > >