Re: [PATCH v6 02/12] Add virtio-sound-pci device

2023-08-20 Thread Volker RĂ¼melin
Hi Manos, I see a core dump with this code on my host. I don't use the -audio command line argument and the audiodev_id variable is NULL. You can't use a global audiodev_id variable because each guest can have more than one virtio-sound-pci device and each virtio-sound-pci device may be conne

[PATCH v6 02/12] Add virtio-sound-pci device

2023-08-15 Thread Emmanouil Pitsidianakis
This patch adds a PCI wrapper device for the virtio-sound device. It is necessary to instantiate a virtio-snd device in a guest. All sound logic will be added to the virtio-snd device in the following commits. To add this device with a guest, you'll need a >=5.13 kernel compiled with CONFIG_SND_VI