Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-21 Thread Alexandre Courbot
On Thu, May 21, 2020 at 1:21 AM Nicolas Dufresne wrote: > > Le mercredi 20 mai 2020 à 12:19 +0900, Alexandre Courbot a écrit : > > On Wed, May 20, 2020 at 2:29 AM Nicolas Dufresne > > wrote: > > > Le mardi 19 mai 2020 à 17:37 +0900, Keiichi Watanabe a écrit : > > > > Hi Nicolas, > > > > > > > >

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-20 Thread Nicolas Dufresne
Le mercredi 20 mai 2020 à 12:27 -0400, Michael S. Tsirkin a écrit : > On Wed, May 20, 2020 at 12:21:05PM -0400, Nicolas Dufresne wrote: > > Le mercredi 20 mai 2020 à 12:19 +0900, Alexandre Courbot a écrit : > > > On Wed, May 20, 2020 at 2:29 AM Nicolas Dufresne > > > wrote: > > > > Le mardi 19

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-20 Thread Michael S. Tsirkin
On Wed, May 20, 2020 at 12:21:05PM -0400, Nicolas Dufresne wrote: > Le mercredi 20 mai 2020 à 12:19 +0900, Alexandre Courbot a écrit : > > On Wed, May 20, 2020 at 2:29 AM Nicolas Dufresne > > wrote: > > > Le mardi 19 mai 2020 à 17:37 +0900, Keiichi Watanabe a écrit : > > > > Hi Nicolas, > > >

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-20 Thread Nicolas Dufresne
Le mercredi 20 mai 2020 à 12:19 +0900, Alexandre Courbot a écrit : > On Wed, May 20, 2020 at 2:29 AM Nicolas Dufresne wrote: > > Le mardi 19 mai 2020 à 17:37 +0900, Keiichi Watanabe a écrit : > > > Hi Nicolas, > > > > > > On Fri, May 15, 2020 at 8:38 AM Nicolas Dufresne < > > > nico...@ndufresne.

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-20 Thread Alexandre Courbot
On Wed, May 20, 2020 at 2:29 AM Nicolas Dufresne wrote: > > Le mardi 19 mai 2020 à 17:37 +0900, Keiichi Watanabe a écrit : > > Hi Nicolas, > > > > On Fri, May 15, 2020 at 8:38 AM Nicolas Dufresne < > > nico...@ndufresne.ca > > > wrote: > > > Le lundi 11 mai 2020 à 20:49 +0900, Keiichi Watanabe a é

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-19 Thread Nicolas Dufresne
Le mardi 19 mai 2020 à 17:37 +0900, Keiichi Watanabe a écrit : > Hi Nicolas, > > On Fri, May 15, 2020 at 8:38 AM Nicolas Dufresne < > nico...@ndufresne.ca > > wrote: > > Le lundi 11 mai 2020 à 20:49 +0900, Keiichi Watanabe a écrit : > > > Hi, > > > > > > Thanks Saket for your feedback. As Dmitry

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-19 Thread Keiichi Watanabe
Hi Nicolas, On Fri, May 15, 2020 at 8:38 AM Nicolas Dufresne wrote: > > Le lundi 11 mai 2020 à 20:49 +0900, Keiichi Watanabe a écrit : > > Hi, > > > > Thanks Saket for your feedback. As Dmitry mentioned, we're focusing on > > video encoding and decoding, not camera. So, my reply was about how to

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-14 Thread Nicolas Dufresne
Le lundi 11 mai 2020 à 20:49 +0900, Keiichi Watanabe a écrit : > Hi, > > Thanks Saket for your feedback. As Dmitry mentioned, we're focusing on > video encoding and decoding, not camera. So, my reply was about how to > implement paravirtualized video codec devices. > > On Mon, May 11, 2020 at 8:2

Re: [libcamera-devel] [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-12 Thread Dmitry Sepp
Hi Laurent, On Montag, 11. Mai 2020 16:31:36 CEST Laurent Pinchart wrote: > > I don't think this would be the right level of abstraction. The V4L2 API > is way too low-level when it comes to camera paravirtualization (and may > not be the only API we'll have in the future). I thus recommend > vir

Re: [libcamera-devel] [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Laurent Pinchart
Hello, Jumping in the middle of this thread, so I apologize if some of my comments are a bit out of context. On Mon, May 11, 2020 at 11:06:34PM +0900, Keiichi Watanabe wrote: > On Mon, May 11, 2020 at 9:33 PM Saket Sinha wrote: > > > > > I do not support the approach of QEMU implementation forw

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Keiichi Watanabe
Hi, Thanks Saket for your feedback. As Dmitry mentioned, we're focusing on video encoding and decoding, not camera. So, my reply was about how to implement paravirtualized video codec devices. On Mon, May 11, 2020 at 8:25 PM Dmitry Sepp wrote: > > Hi Saket, > > On Montag, 11. Mai 2020 13:05:53 C

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Keiichi Watanabe
Hi Saket, On Mon, May 11, 2020 at 9:33 PM Saket Sinha wrote: > > Hi Keiichi, > > > > > I do not support the approach of QEMU implementation forwarding > > > > requests to the host's vicodec module since this can limit the scope > > > > of the virtio-video device only for testing, > > > > > > Th

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Keiichi Watanabe
Hi Dmitry, On Mon, May 11, 2020 at 6:40 PM Dmitry Sepp wrote: > > Hi Saket and all, > > As we are working with automotive platforms, unfortunately we don't plan any > Qemu reference implementation so far. > > Of course we are ready to support the community if any help is needed. Is > there intere

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Dmitry Sepp
Hi Saket, On Montag, 11. Mai 2020 13:05:53 CEST Saket Sinha wrote: > Hi Keiichi, > > I do not support the approach of QEMU implementation forwarding > requests to the host's vicodec module since this can limit the scope > of the virtio-video device only for testing, That was my understanding a

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Saket Sinha
Hi Keiichi, > > > I do not support the approach of QEMU implementation forwarding > > > requests to the host's vicodec module since this can limit the scope > > > of the virtio-video device only for testing, > > > > That was my understanding as well. > > Not really because the API which the vico

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Michael S. Tsirkin
On Mon, May 11, 2020 at 01:25:23PM +0200, Dmitry Sepp wrote: > Hi Saket, > > On Montag, 11. Mai 2020 13:05:53 CEST Saket Sinha wrote: > > Hi Keiichi, > > > > I do not support the approach of QEMU implementation forwarding > > requests to the host's vicodec module since this can limit the scope

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Michael S. Tsirkin
On Mon, May 11, 2020 at 01:25:23PM +0200, Dmitry Sepp wrote: > Hi Saket, > > On Montag, 11. Mai 2020 13:05:53 CEST Saket Sinha wrote: > > Hi Keiichi, > > > > I do not support the approach of QEMU implementation forwarding > > requests to the host's vicodec module since this can limit the scope

Re: [virtio-dev] Re: Fwd: Qemu Support for Virtio Video V4L2 driver

2020-05-11 Thread Saket Sinha
Hi Keiichi, I do not support the approach of QEMU implementation forwarding requests to the host's vicodec module since this can limit the scope of the virtio-video device only for testing, which instead can be used with multiple use cases such as - 1. VM gets access to paravirtualized camera