From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15702C433E0 for ; Fri, 8 Jan 2021 07:55:39 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 496EC23406 for ; Fri, 8 Jan 2021 07:55:36 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 496EC23406 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:54274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kxmcR-00040L-NQ for qemu-devel@archiver.kernel.org; Fri, 08 Jan 2021 02:55:35 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59854) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kxmb6-0003Ze-Ub for qemu-devel@nongnu.org; Fri, 08 Jan 2021 02:54:12 -0500 Received: from mail-pg1-x535.google.com ([2607:f8b0:4864:20::535]:32977) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kxmb3-0000Jd-2Q for qemu-devel@nongnu.org; Fri, 08 Jan 2021 02:54:12 -0500 Received: by mail-pg1-x535.google.com with SMTP id n25so7179554pgb.0 for ; Thu, 07 Jan 2021 23:54:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9tZHDnyKC3ZFqJ1p3gpP8aDoYHel4aC46YU8pi4h4YA=; b=gqiX6XWat9QWV1CFUbqTvicmsg4oNDJ3EkOdQbr6TUby3ZzO62nhUYbbpjIKFs0BdQ Qs7jafP7iJvN1Btu5uc+DG+V9KK3R2sNXHFTq4EqxAjfXHP9sjThDCT62b0bo6pKBdRR +bqGPCjMHOVguD3TokymNKAYKDfKU7ZzYrieX28+F/CgSpzyWDCjWH37JQVnjKEs+pbP OHh3UZnBEh6IsoEMBFh6xZBblCzo4PBFN4RMJKNzbbKdLWKYpblRHnGau+M76Yx0TbM8 nxGxCHhXOiGs1RDrUTBC2+1v6zvLZPBDKJKKqSpANwk2IRL6JtB69BbU8TmZxTRrCdtS tmVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9tZHDnyKC3ZFqJ1p3gpP8aDoYHel4aC46YU8pi4h4YA=; b=p9KyapRxcAvt0Uab6Rpv3noZdP+X5OuW0oAWrBIW1AR5C2KWW28TYeGzziewx8lN3P r6OBV/5qMtl6MoCfBw/YWfliYoTq1CxZaYHWHTfiSv51IjvzmtMdFrkFdNHdGtoI1GIS lpVtXbK20VvWVBsY8XBzMatzg6i4PuGivuJR/P8kI0aalCK/siqQqd1Q36BhTQjSanwv kPmwEgJI0NbD8C7Qk+kRvvx+f9UBeI07EJYQpVMyhMwDOhiAV2dB9E+E3te8VDdIgQZC 4JYuImuZ3uaxaZN5p6yaIBvnnWh02LUcS8AevNuV3pKw0iMNipsi4ElIs5HlXpQVGiij Jj+A== X-Gm-Message-State: AOAM533wAbhhCX22ggpLeab5O5ZFRndYkpsv5gpwtocVjE/fMsyToXKV zOADu6dDFVxP/xaMFp2OtPo2TmzCUdYXFVVI7b0= X-Google-Smtp-Source: ABdhPJxUhmlZUm3/S+Q5f3fqa1VDjB3m4dpq2VJBpoUVY/WY2hQIWQo7GTSFLfYclpRyiKuM+e91RnJ5ud/vTqJErPg= X-Received: by 2002:a63:77c1:: with SMTP id s184mr5740155pgc.376.1610092447371; Thu, 07 Jan 2021 23:54:07 -0800 (PST) MIME-Version: 1.0 References: <87a6tm2sxb.fsf@linaro.org> <878s941x85.fsf@linaro.org> In-Reply-To: <878s941x85.fsf@linaro.org> From: Shreyansh Chouhan Date: Fri, 8 Jan 2021 13:23:56 +0530 Message-ID: Subject: Re: VirtioSound device emulation implementation To: =?UTF-8?B?QWxleCBCZW5uw6ll?= Content-Type: multipart/alternative; boundary="0000000000006194a805b85edc50" Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=chouhan.shreyansh2702@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --0000000000006194a805b85edc50 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, 7 Jan 2021 at 22:49, Alex Benn=C3=A9e wrot= e: > > Shreyansh Chouhan writes: > > > On Wed, 6 Jan 2021 at 17:12, Alex Benn=C3=A9e = wrote: > > > >> > >> Shreyansh Chouhan writes: > >> > >> > Hey everyone! > >> > > >> > I want to work on implementing the emulation for the VritioSound > device. > >> I > >> > contacted the mentor for the project, (Greg), who said it's fine and > >> that I > >> > should declare it on the mailing list in order to find out if someon= e > >> else > >> > is already working on this project. That is what this mail is for. I > >> tried > >> > searching for "Virtio", "Sound", and "VirtioSound" in the qemu-devel > >> > mailing archives but couldn't find anything. If someone is already > >> working > >> > on it, please let me know, and if not then I'll start working on it > right > >> > away. > >> > >> I'm not working on it but please feel free to CC me on discussion and > >> patches. I have a general interest on Virtio IO implementations at the > >> moment. > >> > > > > Sure! (Though I should mention that I do not know a lot about the virti= o > > architecture yet. I am still reading up about it. So most of my mails > might > > be (silly) queries. Though I hope to learn about it soon and send in > > some patches and tests :) > > > > > >> Are you planning to make it an in-QEMU device or maybe a external > >> vhost-user daemon? > > > > The project page states that we need to use the QEMU audio subsystem > > for playing and capturing audio samples. > > Is this one of the QEMU internship projects? > Yes, it is one of the GSoC projects. > > > I am not entirely sure if this implies that the device should be an > > in-QEMU device or if it could be an external daemon. > > I think it implies having the entire emulation in-QEMU. > I see, after reading yours and Gerd's response, I think I will study/think about the implementation details and then decide which will be the best route for me. > > > What do you suggest? > > > > cc Gerd Hoffman > > > > > > > > > >> > >> -- > >> Alex Benn=C3=A9e > >> > > > -- > Alex Benn=C3=A9e > --0000000000006194a805b85edc50 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


=
On Thu, 7 Jan 2021 at 22:49, Alex Ben= n=C3=A9e <alex.bennee@linaro.o= rg> wrote:
chouhan.shreyansh2702@gmail.com> writes:

> On Wed, 6 Jan 2021 at 17:12, Alex Benn=C3=A9e <alex.bennee@linaro.org> wrot= e:
>
>>
>> Shreyansh Chouhan <chouhan.shreyansh2702@gmail.com> writes: >>
>> > Hey everyone!
>> >
>> > I want to work on implementing the emulation for the VritioSo= und device.
>> I
>> > contacted the mentor for the project, (Greg), who said it'= ;s fine and
>> that I
>> > should declare it on the mailing list in order to find out if= someone
>> else
>> > is already working on this project. That is what this mail is= for. I
>> tried
>> > searching for "Virtio", "Sound", and &quo= t;VirtioSound" in the qemu-devel
>> > mailing archives but couldn't find anything. If someone i= s already
>> working
>> > on it, please let me know, and if not then I'll start wor= king on it right
>> > away.
>>
>> I'm not working on it but please feel free to CC me on discuss= ion and
>> patches. I have a general interest on Virtio IO implementations at= the
>> moment.
>>
>
> Sure! (Though I should mention that I do not know a lot about the virt= io
> architecture yet. I am still reading up about it. So most of my mails = might
> be (silly) queries. Though I hope to learn about it soon and send in > some patches and tests :)
>
>
>> Are you planning to make it an in-QEMU device or maybe a external<= br> >> vhost-user daemon?
>
> The project page states that we need to use the QEMU audio subsystem > for playing and capturing audio samples.

Is this one of the QEMU internship projects?
Yes, it i= s one of the GSoC projects.

> I am not entirely sure if this implies that the device should be an > in-QEMU device or if it could be an external daemon.

I think it implies having the entire emulation in-QEMU.
I see, after reading yours and Gerd's response, I think I will study/= think about
the implementation details and then decide which will= be the best route for
me.

> What do you suggest?
>
> cc Gerd Hoffman
>
>
>
>
>>
>> --
>> Alex Benn=C3=A9e
>>


--
Alex Benn=C3=A9e
--0000000000006194a805b85edc50--