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.3 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 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 43B83C433DB for ; Sun, 17 Jan 2021 10:32:00 +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 A57F4208DB for ; Sun, 17 Jan 2021 10:31:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A57F4208DB 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]:54940 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l15Li-0005Km-BC for qemu-devel@archiver.kernel.org; Sun, 17 Jan 2021 05:31:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l15Kf-0004p0-RL for qemu-devel@nongnu.org; Sun, 17 Jan 2021 05:30:53 -0500 Received: from mail-pj1-x1033.google.com ([2607:f8b0:4864:20::1033]:50356) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l15Kd-0006Rj-Ub for qemu-devel@nongnu.org; Sun, 17 Jan 2021 05:30:53 -0500 Received: by mail-pj1-x1033.google.com with SMTP id md11so7613075pjb.0 for ; Sun, 17 Jan 2021 02:30:51 -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=lrVLKEWpJgbemesZNbvB76US9FYUdk+7ZQKMKtLMIOg=; b=eLca56D11X2ScNi5Xziz/jQKHFHLmv00X3SirkxmSbsDJS89Emfopz6ThtiEnd2YHn XprOnbVpbsSzOSmBoc43cnU3QQEM9LWE/XIRG5+n+ZWTh7ubi05KiMZ77tdGAowKKk6H 0Jz/1cqgJEcOR5XRyYZU2zgVMCHULzEhMX4KnRVwLmuGBrKWQ7+1pGtVXArTvvcMCCRj ktN8oUjsrWIjl8FcsSkVeiRn9UFni2sDrDkTpIiLwVP9ZI2sA+WRb/+8qNMZR32PPXDz 9YEJZx39lLvu3X8bDlIgNyMsbztqVPqKo+L3HLsz8TxYek5cylw1Ar01KdPIMSGikblf UeVg== 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=lrVLKEWpJgbemesZNbvB76US9FYUdk+7ZQKMKtLMIOg=; b=kgLVz/oA6zbfyUuaferq4WmRlrl4SUm9rtpSSS6oGQvaffweSPbc24YuzbZHE+a/bR yqR+t87RNVKi3sgiyJI/WhxxNPBob4w4xUHxnMX0ykmzIrKe6i4wgttFaGG3tpVdOsST fYU/yT+2EQLj2hiGdIzpEk7VlaD7ul4XlSDi1rQaZ445OyQXN02pOaMX6WFNGSlh0F5c HV4PjQKyIuhpeLdzMFA4R32PmjQJiAXSgqZiNbt8blgmDPPuEsQA9p+XaxoPRUfmO2gc oodLhO+WLowk+hA+xWuYHqtNBgmTQlWKDzegkoOKRBl3/tjFhRdva1QhDLMiHf4lwTO1 wkJQ== X-Gm-Message-State: AOAM532IMIWWQEoSFBfBMZFlaSAx+Jbje9oNLmgYwRiRZJwdnvXw/lO3 HyLWXR3D4/qmoqVX/SXXeD9KvEy/KYIWRkymcDY= X-Google-Smtp-Source: ABdhPJwVare0G9iotGCJ38uzt+qn5TnV++ScRT+aLoSsuqPO+LwPdazdz7bCetOGL1VqbAoJSBAXevfekFd5DzAP+Fs= X-Received: by 2002:a17:902:6b01:b029:da:d295:2582 with SMTP id o1-20020a1709026b01b02900dad2952582mr21197290plk.14.1610879449722; Sun, 17 Jan 2021 02:30:49 -0800 (PST) MIME-Version: 1.0 References: <87a6tm2sxb.fsf@linaro.org> <878s941x85.fsf@linaro.org> <20210108083433.pfzhxrd4rezk6yxe@sirius.home.kraxel.org> <878s8zptrf.fsf@linaro.org> <87ft33l8an.fsf@linaro.org> In-Reply-To: From: Shreyansh Chouhan Date: Sun, 17 Jan 2021 16:00:38 +0530 Message-ID: Subject: Re: Fwd: VirtioSound device emulation implementation To: =?UTF-8?B?QWxleCBCZW5uw6ll?= Content-Type: multipart/alternative; boundary="0000000000006073c105b9161956" Received-SPF: pass client-ip=2607:f8b0:4864:20::1033; envelope-from=chouhan.shreyansh2702@gmail.com; helo=mail-pj1-x1033.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: Gerd Hoffmann , qemu-devel@nongnu.org Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --0000000000006073c105b9161956 Content-Type: text/plain; charset="UTF-8" > > If you want to see an example of a branch new vhost-user daemon being >> built up from scratch see my recent virtio-rpmb series. The first few >> patches of in-QEMU code will be the same boilerplate either way I think: >> >> https://patchew.org/QEMU/20200925125147.26943-1-alex.bennee@linaro.org/ > > This really clears everything about vhost-user daemons. Thanks a lot. I am currently looking at how the sound subsystem is implemented in QEMU. If I can recreate something similar for the vhost-user daemon, I'll make it a vhost-user daemon. Else I will implement it as an in-QEMU device. Either ways, I'll provide an implementation plan with a loose timeline tomorrow. I will start writing the code for the device from tomorrow. --0000000000006073c105b9161956 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you want to see an example of a branch new vhost-user daemon being
built up from scratch see my recent virtio-rpmb series. The first few
patches of in-QEMU code will be the same boilerplate either way I think:
=C2=A0 https://patchew.org/QE= MU/20200925125147.26943-1-alex.bennee@linaro.org/
This really clears everything about vhost-user daemons= . Thanks a lot.

I am currently looking at how the= sound subsystem is implemented in QEMU.
If I can recreate s= omething similar for the vhost-user daemon,
I'll make it= a vhost-user daemon. Else I will implement
it as an in-QEMU devi= ce. Either ways, I'll provide an implementation
plan with a l= oose timeline tomorrow.
I will start writing the code for the de= vice from tomorrow.
--0000000000006073c105b9161956--