OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

virtio-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [virtio-dev] Re: [RFC PATCH v6] virtio-video: Add virtio video device specification


This is going to be my last answer to this thread ; I don't think I
have more technical arguments to give than I already have and the
discussion is drifting into territory I am not interested in engaging.
At the end of the day it's up to the virtio folks to make a decision
about what the best course of action is. If we end up with
fragmentation, so be it, it will still be better than the current
situation anyway.

On Thu, Apr 27, 2023 at 11:11âPM Alexander Gordeev
<alexander.gordeev@opensynergy.com> wrote:
>
> On 25.04.23 18:04, Cornelia Huck wrote:
> >
> > [I'm replying here, as that seems to be the last message in the thread,
> > and my reply hopefully catches everyone interested here.]
> >
> > To do a very high level summary, we have (at least) two use cases for
> > virtio-video, that unfortunately have quite different requirements. Both
> > want to encode/decode video, but in different environments.
> >
> > - The "restricted" case: Priority is on security, and the attack surface
> >    should be kept as small as possible, for example, by avoiding unneded
> >    complexity in the interface. Fancy allocations and management should
> >    be avoided. The required functionality is also quite clearly defined.
> > - The "feature-rich" case: Priority is on enabling features, and being
> >    able to re-use existing V4L2 support is considered a big plus. Both
> >    device and driver implementations will be implemented in a full OS
> >    environment, so all kind of helpers are already available.
> >
> > (This is not to say that one case does not care about functionality or
> > security; it's mostly a case of different priorities and environments.)
>
> I'm thinking about the latter as more like a "compatibility" case, but
> the "feature-rich" is also a good name.
>
> > I had been hoping that it would be possible to find kind of a common
> > ground between the two cases, but reading the thread, I'm not quite as
> > hopeful anymore... if we really don't manage to find an approach to make
> > the different requirements co-exist, a separate virtio-v4l2 device might
> > be the way to go -- but I've not totally given up hope yet.
>
>  From our side I can say, that moving from the current state even to a
> well-defined subset of V4L2 would require a lot of work, bring literally
> zero advantages for our use-case, while bringing some disadvantages. I
> think we had a good progress so far, we don't want to give up the
> achievements and now this is a great opportunity to do even better
> because our priorities will not collide anymore.

In other words, virtio-v4l2 does not bring you any direct benefit and
switching would have a cost, acknowledged. But I don't think it's
reasonable to split the standard just for one project.

>
> On the other side I don't think Alexandre and his team are really
> interested in doing the extra work of clearly defining the subset of
> V4L2, writing larger specifications, going through all the hassle with
> making the guest pages sharing work (again) and supporting this case in
> their driver for us for something that is planned to be a very simple
> device and driver. Please correct me if I'm wrong here.

You are wrong and stop making things up about what our intent is.
Guest pages are a must-have for us, as I've already said. I also
proposed in a former email to do just what you said I wouldn't
(defining a valid subset of V4L2 for each device), and you ignored it.

>
> And even if they say they agree to do the work with us... I'm sorry, but
> you can probably see, that our communication doesn't go smooth. My
> emails are forgotten, our use-case is clearly not a priority for
> Alexandre, my arguments seem to be considered as obstacles. If we have a
> single device, we have to cooperate actively. I have a lot of doubts
> that it is possible at the moment. In this case I'd prefer to just make
> room for everybody. Maybe we'll cooperate in a fruitful way again later.
> The priorities or use-cases might change, for example. For us this is an
> opportunity to finally update the virtio-video driver against the latest
> state and hopefully make it V4L2 compliant.

It's pretty rich to constantly misrepresent my proposals and then
pretend communication does not go smoothly (implied, by my fault).

I won't engage any more in this discussion as I don't think your
position can be moved, and I have better things to do with my time
than constantly repeat what I said earlier. Do your thing, I'll do
mine, and at the end the virtio folks will decide what they want.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]