public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] virtio: Add ID for virtio media
@ 2026-03-10  8:40 Albert Esteve
  2026-04-09 16:53 ` Albert Esteve
  0 siblings, 1 reply; 5+ messages in thread
From: Albert Esteve @ 2026-03-10  8:40 UTC (permalink / raw)
  To: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez
  Cc: virtualization, linux-kernel, gnurou, Albert Esteve

Add VIRTIO_ID_MEDIA definition for virtio-media.

Signed-off-by: Albert Esteve <aesteve@redhat.com>
---
While the Linux driver for virtio media is currently under active
development and review [1], the VirtIO v1.4 specification has
already been published and oficially defines the media device type [2].

Adding the device ID now allows other components and tools to reference it
before the driver lands, and ensures the kernel headers stay aligned
with the specification.

[1] https://lore.kernel.org/linux-media/20250412-virtio-media-v3-1-97dc94c18398@gmail.com/
[2] https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html#x1-82200022
---
 include/uapi/linux/virtio_ids.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h
index 6c12db16faa3a..f9056af0c6223 100644
--- a/include/uapi/linux/virtio_ids.h
+++ b/include/uapi/linux/virtio_ids.h
@@ -69,6 +69,7 @@
 #define VIRTIO_ID_BT			40 /* virtio bluetooth */
 #define VIRTIO_ID_GPIO			41 /* virtio gpio */
 #define VIRTIO_ID_SPI			45 /* virtio spi */
+#define VIRTIO_ID_MEDIA			48 /* virtio media */
 
 /*
  * Virtio Transitional IDs

---
base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
change-id: 20260310-virtio-media-id-b31179fcdc44

Best regards,
-- 
Albert Esteve <aesteve@redhat.com>


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio: Add ID for virtio media
  2026-03-10  8:40 [PATCH] virtio: Add ID for virtio media Albert Esteve
@ 2026-04-09 16:53 ` Albert Esteve
  2026-04-24 13:06   ` Michael S. Tsirkin
  0 siblings, 1 reply; 5+ messages in thread
From: Albert Esteve @ 2026-04-09 16:53 UTC (permalink / raw)
  To: Michael S. Tsirkin, Jason Wang, Xuan Zhuo, Eugenio Pérez
  Cc: virtualization, linux-kernel, gnurou

Hi,


On Tue, Mar 10, 2026 at 9:41 AM Albert Esteve <aesteve@redhat.com> wrote:
>
> Add VIRTIO_ID_MEDIA definition for virtio-media.
>
> Signed-off-by: Albert Esteve <aesteve@redhat.com>

Are there any thoughts on this patch, or any actions I need to take?

Thanks,
Albert

> ---
> While the Linux driver for virtio media is currently under active
> development and review [1], the VirtIO v1.4 specification has
> already been published and oficially defines the media device type [2].
>
> Adding the device ID now allows other components and tools to reference it
> before the driver lands, and ensures the kernel headers stay aligned
> with the specification.
>
> [1] https://lore.kernel.org/linux-media/20250412-virtio-media-v3-1-97dc94c18398@gmail.com/
> [2] https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html#x1-82200022
> ---
>  include/uapi/linux/virtio_ids.h | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h
> index 6c12db16faa3a..f9056af0c6223 100644
> --- a/include/uapi/linux/virtio_ids.h
> +++ b/include/uapi/linux/virtio_ids.h
> @@ -69,6 +69,7 @@
>  #define VIRTIO_ID_BT                   40 /* virtio bluetooth */
>  #define VIRTIO_ID_GPIO                 41 /* virtio gpio */
>  #define VIRTIO_ID_SPI                  45 /* virtio spi */
> +#define VIRTIO_ID_MEDIA                        48 /* virtio media */
>
>  /*
>   * Virtio Transitional IDs
>
> ---
> base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
> change-id: 20260310-virtio-media-id-b31179fcdc44
>
> Best regards,
> --
> Albert Esteve <aesteve@redhat.com>
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio: Add ID for virtio media
  2026-04-09 16:53 ` Albert Esteve
@ 2026-04-24 13:06   ` Michael S. Tsirkin
  2026-04-24 13:37     ` Albert Esteve
  0 siblings, 1 reply; 5+ messages in thread
From: Michael S. Tsirkin @ 2026-04-24 13:06 UTC (permalink / raw)
  To: Albert Esteve
  Cc: Jason Wang, Xuan Zhuo, Eugenio Pérez, virtualization,
	linux-kernel, gnurou

On Thu, Apr 09, 2026 at 06:53:41PM +0200, Albert Esteve wrote:
> Hi,
> 
> 
> On Tue, Mar 10, 2026 at 9:41 AM Albert Esteve <aesteve@redhat.com> wrote:
> >
> > Add VIRTIO_ID_MEDIA definition for virtio-media.
> >
> > Signed-off-by: Albert Esteve <aesteve@redhat.com>
> 
> Are there any thoughts on this patch, or any actions I need to take?
> 
> Thanks,
> Albert

Create a github issue and request a vote as documented in README.md

> > ---
> > While the Linux driver for virtio media is currently under active
> > development and review [1], the VirtIO v1.4 specification has
> > already been published and oficially defines the media device type [2].
> >
> > Adding the device ID now allows other components and tools to reference it
> > before the driver lands, and ensures the kernel headers stay aligned
> > with the specification.
> >
> > [1] https://lore.kernel.org/linux-media/20250412-virtio-media-v3-1-97dc94c18398@gmail.com/
> > [2] https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html#x1-82200022
> > ---
> >  include/uapi/linux/virtio_ids.h | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h
> > index 6c12db16faa3a..f9056af0c6223 100644
> > --- a/include/uapi/linux/virtio_ids.h
> > +++ b/include/uapi/linux/virtio_ids.h
> > @@ -69,6 +69,7 @@
> >  #define VIRTIO_ID_BT                   40 /* virtio bluetooth */
> >  #define VIRTIO_ID_GPIO                 41 /* virtio gpio */
> >  #define VIRTIO_ID_SPI                  45 /* virtio spi */
> > +#define VIRTIO_ID_MEDIA                        48 /* virtio media */
> >
> >  /*
> >   * Virtio Transitional IDs
> >
> > ---
> > base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
> > change-id: 20260310-virtio-media-id-b31179fcdc44
> >
> > Best regards,
> > --
> > Albert Esteve <aesteve@redhat.com>
> >


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio: Add ID for virtio media
  2026-04-24 13:06   ` Michael S. Tsirkin
@ 2026-04-24 13:37     ` Albert Esteve
  2026-04-24 16:31       ` Michael S. Tsirkin
  0 siblings, 1 reply; 5+ messages in thread
From: Albert Esteve @ 2026-04-24 13:37 UTC (permalink / raw)
  To: Michael S. Tsirkin
  Cc: Jason Wang, Xuan Zhuo, Eugenio Pérez, virtualization,
	linux-kernel, gnurou

On Fri, Apr 24, 2026 at 3:07 PM Michael S. Tsirkin <mst@redhat.com> wrote:
>
> On Thu, Apr 09, 2026 at 06:53:41PM +0200, Albert Esteve wrote:
> > Hi,
> >
> >
> > On Tue, Mar 10, 2026 at 9:41 AM Albert Esteve <aesteve@redhat.com> wrote:
> > >
> > > Add VIRTIO_ID_MEDIA definition for virtio-media.
> > >
> > > Signed-off-by: Albert Esteve <aesteve@redhat.com>
> >
> > Are there any thoughts on this patch, or any actions I need to take?
> >
> > Thanks,
> > Albert
>
> Create a github issue and request a vote as documented in README.md

The inclusion of this ID was already voted and approved. The device
already appears in the VirtIO v1.4 specification, with the same ID (as
linked below). This patch is only meant to translate the decision to
the kernel header.

>
> > > ---
> > > While the Linux driver for virtio media is currently under active
> > > development and review [1], the VirtIO v1.4 specification has
> > > already been published and oficially defines the media device type [2].
> > >
> > > Adding the device ID now allows other components and tools to reference it
> > > before the driver lands, and ensures the kernel headers stay aligned
> > > with the specification.
> > >
> > > [1] https://lore.kernel.org/linux-media/20250412-virtio-media-v3-1-97dc94c18398@gmail.com/
> > > [2] https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html#x1-82200022
> > > ---
> > >  include/uapi/linux/virtio_ids.h | 1 +
> > >  1 file changed, 1 insertion(+)
> > >
> > > diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h
> > > index 6c12db16faa3a..f9056af0c6223 100644
> > > --- a/include/uapi/linux/virtio_ids.h
> > > +++ b/include/uapi/linux/virtio_ids.h
> > > @@ -69,6 +69,7 @@
> > >  #define VIRTIO_ID_BT                   40 /* virtio bluetooth */
> > >  #define VIRTIO_ID_GPIO                 41 /* virtio gpio */
> > >  #define VIRTIO_ID_SPI                  45 /* virtio spi */
> > > +#define VIRTIO_ID_MEDIA                        48 /* virtio media */
> > >
> > >  /*
> > >   * Virtio Transitional IDs
> > >
> > > ---
> > > base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
> > > change-id: 20260310-virtio-media-id-b31179fcdc44
> > >
> > > Best regards,
> > > --
> > > Albert Esteve <aesteve@redhat.com>
> > >
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] virtio: Add ID for virtio media
  2026-04-24 13:37     ` Albert Esteve
@ 2026-04-24 16:31       ` Michael S. Tsirkin
  0 siblings, 0 replies; 5+ messages in thread
From: Michael S. Tsirkin @ 2026-04-24 16:31 UTC (permalink / raw)
  To: Albert Esteve
  Cc: Jason Wang, Xuan Zhuo, Eugenio Pérez, virtualization,
	linux-kernel, gnurou

On Fri, Apr 24, 2026 at 03:37:14PM +0200, Albert Esteve wrote:
> On Fri, Apr 24, 2026 at 3:07 PM Michael S. Tsirkin <mst@redhat.com> wrote:
> >
> > On Thu, Apr 09, 2026 at 06:53:41PM +0200, Albert Esteve wrote:
> > > Hi,
> > >
> > >
> > > On Tue, Mar 10, 2026 at 9:41 AM Albert Esteve <aesteve@redhat.com> wrote:
> > > >
> > > > Add VIRTIO_ID_MEDIA definition for virtio-media.
> > > >
> > > > Signed-off-by: Albert Esteve <aesteve@redhat.com>
> > >
> > > Are there any thoughts on this patch, or any actions I need to take?
> > >
> > > Thanks,
> > > Albert
> >
> > Create a github issue and request a vote as documented in README.md
> 
> The inclusion of this ID was already voted and approved. The device
> already appears in the VirtIO v1.4 specification, with the same ID (as
> linked below). This patch is only meant to translate the decision to
> the kernel header.
> 
> >
> > > > ---
> > > > While the Linux driver for virtio media is currently under active
> > > > development and review [1], the VirtIO v1.4 specification has
> > > > already been published and oficially defines the media device type [2].
> > > >
> > > > Adding the device ID now allows other components and tools to reference it
> > > > before the driver lands, and ensures the kernel headers stay aligned
> > > > with the specification.
> > > >
> > > > [1] https://lore.kernel.org/linux-media/20250412-virtio-media-v3-1-97dc94c18398@gmail.com/
> > > > [2] https://docs.oasis-open.org/virtio/virtio/v1.4/virtio-v1.4.html#x1-82200022
> > > > ---
> > > >  include/uapi/linux/virtio_ids.h | 1 +
> > > >  1 file changed, 1 insertion(+)
> > > >
> > > > diff --git a/include/uapi/linux/virtio_ids.h b/include/uapi/linux/virtio_ids.h
> > > > index 6c12db16faa3a..f9056af0c6223 100644
> > > > --- a/include/uapi/linux/virtio_ids.h
> > > > +++ b/include/uapi/linux/virtio_ids.h
> > > > @@ -69,6 +69,7 @@
> > > >  #define VIRTIO_ID_BT                   40 /* virtio bluetooth */
> > > >  #define VIRTIO_ID_GPIO                 41 /* virtio gpio */
> > > >  #define VIRTIO_ID_SPI                  45 /* virtio spi */
> > > > +#define VIRTIO_ID_MEDIA                        48 /* virtio media */
> > > >
> > > >  /*
> > > >   * Virtio Transitional IDs
> > > >
> > > > ---
> > > > base-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f
> > > > change-id: 20260310-virtio-media-id-b31179fcdc44
> > > >
> > > > Best regards,
> > > > --
> > > > Albert Esteve <aesteve@redhat.com>
> > > >
> >


Oh my bad. I misfiled it into the spec folder. I will take care of this.
Thanks!


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-04-24 16:31 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-10  8:40 [PATCH] virtio: Add ID for virtio media Albert Esteve
2026-04-09 16:53 ` Albert Esteve
2026-04-24 13:06   ` Michael S. Tsirkin
2026-04-24 13:37     ` Albert Esteve
2026-04-24 16:31       ` Michael S. Tsirkin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox