qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/audio/virtio-snd-pci: fix the PCI class code


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] hw/audio/virtio-snd-pci: fix the PCI class code
Date: Tue, 7 Nov 2023 19:57:40 +0100
User-agent: Mozilla Thunderbird

On 7/11/23 19:50, Volker Rümelin wrote:
The virtio sound device is currently an unclassified PCI device.

~> sudo lspci -s '00:02.0' -v -nn | head -n 2
00:02.0 Unclassified device [00ff]:
  Red Hat, Inc. Device [1af4:1059] (rev 01)
         Subsystem: Red Hat, Inc. Device [1af4:1100]

Set the correct PCI class code to change the device to a
multimedia audio controller.

~> sudo lspci -s '00:02.0' -v -nn | head -n 2
00:02.0 Multimedia audio controller [0401]:
  Red Hat, Inc. Device [1af4:1059] (rev 01)
         Subsystem: Red Hat, Inc. Device [1af4:1100]

Signed-off-by: Volker Rümelin <vr_qemu@t-online.de>
---
The two additional lines have been lost between v6 and v7 of
the "Add VIRTIO sound card" patch series.

  hw/audio/virtio-snd-pci.c | 2 ++
  1 file changed, 2 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]