virtio: update virtio-media ID to 48

The virtio spec change request is targeting the first free ID, which is
now 48 instead of 49.

<https://lore.kernel.org/virtio-comment/20241107154930.118763-2-aesteve@redhat.com/>

BUG=b:308718439

Change-Id: Ica66cc09b74c3df310b2ff0479d32e022ba3d735
Reviewed-on: https://chromium-review.googlesource.com/c/crosvm/crosvm/+/6003559
Reviewed-by: Alexandre Courbot <acourbot@chromium.org>
Commit-Queue: Daniel Verkamp <dverkamp@chromium.org>
This commit is contained in:
Daniel Verkamp 2024-11-07 12:55:56 -08:00 committed by crosvm LUCI
parent 0fabdcacdc
commit ef672e6039
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ VIRTIO_IDS_EXTRAS="
// TODO(b/236144983): Fix this id when an official virtio-id is assigned to this device.
pub const VIRTIO_ID_PVCLOCK: u32 = 61;
// TODO: Remove this once the ID is included in the Linux headers.
pub const VIRTIO_ID_MEDIA: u32 = 49;
pub const VIRTIO_ID_MEDIA: u32 = 48;
"
bindgen_generate \

View file

@ -15,7 +15,7 @@
// TODO(b/236144983): Fix this id when an official virtio-id is assigned to this device.
pub const VIRTIO_ID_PVCLOCK: u32 = 61;
// TODO: Remove this once the ID is included in the Linux headers.
pub const VIRTIO_ID_MEDIA: u32 = 49;
pub const VIRTIO_ID_MEDIA: u32 = 48;
pub const VIRTIO_ID_NET: u32 = 1;
pub const VIRTIO_ID_BLOCK: u32 = 2;