summary refs log tree commit diff stats
path: root/hw/audio/hda-codec.c
diff options
context:
space:
mode:
authorVolker Rümelin <vr_qemu@t-online.de>2023-11-07 19:50:34 +0100
committerMichael S. Tsirkin <mst@redhat.com>2023-12-02 15:56:49 -0500
commitc44f4263b2fcd5847a50e57157a716ebe8d69d8c (patch)
tree36d50eec93350e8a35a72be03d2c6b6dbdf02959 /hw/audio/hda-codec.c
parentde35244e99ff1c45a7b07f4024b8a70843d0f79c (diff)
downloadfocaccia-qemu-c44f4263b2fcd5847a50e57157a716ebe8d69d8c.tar.gz
focaccia-qemu-c44f4263b2fcd5847a50e57157a716ebe8d69d8c.zip
hw/audio/virtio-snd-pci: fix the PCI class code
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>
Message-Id: <20231107185034.6434-1-vr_qemu@t-online.de>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/audio/hda-codec.c')
0 files changed, 0 insertions, 0 deletions