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

Re: Enable audio virtualization in Xen


  • To: "christopher.w.clark@xxxxxxxxx" <christopher.w.clark@xxxxxxxxx>
  • From: "SHARMA, JYOTIRMOY" <JYOTIRMOY.SHARMA@xxxxxxx>
  • Date: Fri, 12 Aug 2022 09:27:35 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vgerVAFZ6QMckO7cgIBFFLaTElKQrzw75uOKsoOsCNI=; b=WyLrDRC9WvdAHoCMeqGwghvtBPbv1fvaGRCq20qZqmT7iCEDPw5fCmMBPDF+J0CIfETt/tEeCE0/NBw0RDOGTVo/XEnkzBi8ES1D2eIFwigkeyzcA0dEQDSESL7qfPf+Xk62KiYIHqVXE1+SZWqccCJurYCMwgw2rNoO2dYN9KrCAAgJBdTAPWChCZVvA158xx23aahZNr6rZHJ2cMb5411bpol9PXDRUwb8mRvp1QiLIkj7SETntlMBk62QojgpadDexLR57W0dxfnrgNvoGz3ZWY5hP+eSf88ja5aASGa42Bku930ZUh1YK5n5Hsj194IT54lWIbyI3PLnVNmBWg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eDve319+SC2fmmbxHobrYcUUekXivhKePVKReYLFzNHe9uZiKkShLeJDNKOZnU4Fphfs/yg3YV6SVvuOoV5I7/MmfZ7Va6qwuhN2PI+5cbNmgqomQqz5hMrjzKJvpGfACphvNUhvs9k8Z5Ct1McJf4eGn0ZHMPE72/v2q+d2UbMYXMWUVq9I4sW7R6jaPeHkcrdj9B32Ghg2iEidk2dny1iyW1hatBgR4O2NgtPv90wOQmBN+gN5x42kMObww3+bp9cKq4mzMNxpGZGvDcagi1fneSm/Kh/9ZRkEm1craBXN1siZGWYqv06R1OGRThY2f12m68Mjiwr10Zfl3D3Afg==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: "SHARMA, JYOTIRMOY" <JYOTIRMOY.SHARMA@xxxxxxx>, "dpsmith@xxxxxxxxxxxxxxxxxxxx" <dpsmith@xxxxxxxxxxxxxxxxxxxx>, "Stabellini, Stefano" <stefano.stabellini@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Fri, 19 Aug 2022 03:37:26 +0000
  • List-id: Xen user discussion <xen-users.lists.xenproject.org>
  • Msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2022-08-12T09:27:31Z; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=13fe99a6-6d8f-4d70-b509-41cdf6e7d8b3; MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=1
  • Thread-index: AdiuLIEpCE+lAIo1TNCmlHqdHV8UZw==
  • Thread-topic: Re: Enable audio virtualization in Xen

[AMD Official Use Only - General]


Hello Christopher,

 

Thank you so much for your reply. I will execute your steps and first try to enable pulse audio as you have mentioned.

Later I will try to enable ALSA which is my final requirement.

 

Meanwhile, I was reading up on virtio-snd and found some patches in the internet. However, those patches are not

present in the qemu source code (https://gitlab.com/qemu-project/qemu.git). Do you know

  1. If virtio-snd front end driver is another option to enable audio in HVM guest with Qemu/ALSA as backend in dom0?
  2. If yes, how is it different from xen front end drivers?

 

Also, regarding enabling Xen PV audio front end device drivers, you have mentioned that I need to enable backend using libxenbe and snd_be. Does it mean, in this case, Qemu is not involved in the audio backend? Any pointers to understand this overall architecture (Xen PV audio front end driver/snd_be/qemu/ALSA) will be extremely helpful.

 

Regards,

Jyotirmoy

 


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.