lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <DAPQ1LPH05P4.HLIMQEJCRHLX@gmail.com>
Date: Wed, 18 Jun 2025 23:16:47 +0900
From: "Alexandre Courbot" <gnurou@...il.com>
To: "Mauro Carvalho Chehab" <mchehab+huawei@...nel.org>
Cc: "Albert Esteve" <aesteve@...hat.com>, "Michael S. Tsirkin"
 <mst@...hat.com>, "Mauro Carvalho Chehab" <mchehab@...nel.org>, "Hans
 Verkuil" <hverkuil@...all.nl>, "Jason Wang" <jasowang@...hat.com>, "Xuan
 Zhuo" <xuanzhuo@...ux.alibaba.com>, Eugenio Pérez
 <eperezma@...hat.com>, <gurchetansingh@...gle.com>,
 <daniel.almeida@...labora.com>, <adelva@...gle.com>,
 <changyeon@...gle.com>, <nicolas.dufresne@...labora.com>,
 <linux-kernel@...r.kernel.org>, <linux-media@...r.kernel.org>,
 <virtualization@...ts.linux.dev>
Subject: Re: [PATCH v3] media: add virtio-media driver

Hi Mauro,

On Tue Jun 17, 2025 at 5:49 PM JST, Mauro Carvalho Chehab wrote:
> Hi Alex,
>
> Em Tue, 27 May 2025 23:03:39 +0900
> Alexandre Courbot <gnurou@...il.com> escreveu:
>
>> > > > Btw, I was looking at:
>> > > >
>> > > >         https://github.com/chromeos/virtio-media
>> > > >
>> > > > (I'm assuming that this is the QEMU counterpart, right?)  
>> > >
>> > > crosvm actually, but QEMU support is also being worked on.  
>> >
>> > Do you have already QEMU patches? The best is to have the Kernel driver
>> > submitted altogether with QEMU, as Kernel developers need it to do the
>> > tests. In my case, I never use crosvm, and I don't have any Chromebook
>> > anymore.  
>> 
>> IIRC Albert Esteve was working on this, maybe he can share the current status.
>
> Any news regards to it?

Albert shared the latest status. There is one in-flight patch series
required in qemu [1], and then this branch of vhost-device should
contain the necessary support [2]. Albert is waiting for the virtio spec
to get merged before sending a pull request IIUC.

[1] https://patchew.org/QEMU/20250217164012.246727-1-aesteve@redhat.com/
[2] https://github.com/aesteve-rh/vhost-device/tree/virtio-media

>
>> Note that crosvm does not require a Chromebook, you can build and run
>> it pretty easily on a regular PC. I have put together a document to
>> help with that:
>> 
>> https://github.com/chromeos/virtio-media/blob/main/TRY_IT_OUT.md
>
> I started looking on it today. Already installed crossvm (I had to
> install libcap-devel to build it). Still, I'm not familiar with
> crossvm, which is a little be painful. In particular, how can I
> enable network on it and speedup it?

There is a "./tools/examples/setup_network" in the crosvm repository that
will setup a TAP device. Once this is done, you can pass the "--net
tap-name=crosvm_tap" argument to crosvm, and the network device should
be visible and usable.

Let me reply to the rest of your questions in your latest mail, with the
most recent logs.

Cheers,
Alex.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ