From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) by mx.groups.io with SMTP id smtpd.web10.7259.1623242905978522274 for ; Wed, 09 Jun 2021 05:48:26 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@nuviainc-com.20150623.gappssmtp.com header.s=20150623 header.b=Rw5lf1sc; spf=pass (domain: nuviainc.com, ip: 209.85.128.49, mailfrom: leif@nuviainc.com) Received: by mail-wm1-f49.google.com with SMTP id 3-20020a05600c0243b029019f2f9b2b8aso4131256wmj.2 for ; Wed, 09 Jun 2021 05:48:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nuviainc-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=C02xjVHXV3AlKauXOGrDZ6pwU0u4/OB7CgYSXlpYWwE=; b=Rw5lf1scOQWrzy9bhDOSCmUOrFw6TBpJqogu17U6YNI2O0EXJpokKKaqbjnCIiu40T gSikzOs9vm3D48S2rTW29kR8G6ybRMd1m+GMLLaA0BmEkJBp9GiVj+1SIh44ulQ0ozUc /N+OAmZWYaHw5KmLgh0ewePOecOc6ts5sg9QOtyWMrXa3Js7LqqFUTZFh6jefAU4saOn OMfnzCEGe/2W8Np+N4EUmVd+Y6DA2dN7reepCxl7wvBNr5ZwdsOcDIAzpK39NM63kcsc G8APYLPJ4ez/3leixC8eDSkvL8T0FlcO64rLZukXRelDYBdd52142B6kN8WBVpaVMFis lKhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=C02xjVHXV3AlKauXOGrDZ6pwU0u4/OB7CgYSXlpYWwE=; b=VCTrNLoMoE6VU4HpX8itraMgYe9mw4KrxVbJAN0/6PPi18JGGlS0Tuem9fpWsH0cKZ 5fHWNqndCPb7fna9Wb0BD5x2qDkEMZK3chyuM7qfnpGwvY5qaAXgjmHCxTF/iA8+57yo K/BIcpOvI2hzUH12JLr9HyWVPRD1DiCKx7mayB9Ll4myVmLUW9kKMU2X+n5V1jzxufGj CeZ+LFxz4prfTbtmtsf1Hseei6/kK+VvUOfoOyKEuocjeFd/jS6iDCSxR4Iwd6oF1rtG u6Jx3I8I9n689cKknRCxLd8wBcoBIt9pqUNuEMPOkXzAEi61ZTIEZy9AbA1vHosCB/Qu cTYw== X-Gm-Message-State: AOAM533k6v95X8GyhwEuffNIovtQtc8CDf0/Hh3HMjAaUwOEGurSalvt zo5M+mzPjpM1f8zbHAp4/wVgQQ== X-Google-Smtp-Source: ABdhPJwsr5ycPBPRJhdX/0Tbq5xbFUFChgJUdLyUP7ME/bdRESBK6k0I6MNWtu+Y0Q7YBF2nDI2JwQ== X-Received: by 2002:a1c:a550:: with SMTP id o77mr27277477wme.57.1623242904181; Wed, 09 Jun 2021 05:48:24 -0700 (PDT) Return-Path: Received: from leviathan (cpc1-cmbg19-2-0-cust915.5-4.cable.virginm.net. [82.27.183.148]) by smtp.gmail.com with ESMTPSA id f14sm5137728wmq.10.2021.06.09.05.48.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 05:48:23 -0700 (PDT) Date: Wed, 9 Jun 2021 13:48:22 +0100 From: "Leif Lindholm" To: Michael Brown Cc: Laszlo Ersek , Ethin Probst , devel@edk2.groups.io Subject: Re: [edk2-devel] VirtIO sound device in qemu? Message-ID: <20210609124822.6ohlxxuzk7izej57@leviathan> References: <74f2a141-fe7c-b25c-ab65-aea8989cc885@redhat.com> <20210607213349.zyqbavq2kqm726h3@leviathan> <20210608202506.5ukz7kro33c7d54x@leviathan> <883acfee-86e1-6924-ce0f-ae65ce449fa0@ipxe.org> MIME-Version: 1.0 In-Reply-To: <883acfee-86e1-6924-ce0f-ae65ce449fa0@ipxe.org> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Jun 09, 2021 at 13:25:16 +0100, Michael Brown wrote: > On 09/06/2021 11:57, Laszlo Ersek wrote: > > I'm uneducated about the "deliverables" in GSoC, but in general I'd > > suggest narrowing down the scope as much as possible. I don't know how > > hard it is to program USB audio, but if QEMU provides a good device > > model for that, out of the box, I would recommend basing the edk2 work > > on that device. > > QEMU also has good support for passing through a real USB device, which > might be useful if you ever suspect that the QEMU device implementation is > behaving incorrectly. I have used the USB passthrough in anger, and sometimes it has been flawless, but other times it has been flaky. So, yes - it is worth cross-checking real and emulated hw when running into unexpected issues, but the passed-through hw is not automatically more reliable. / Leif > (This is not implausible: I still have several bugfixes for the QEMU USB > network device emulation sitting in an out-of-tree branch.) > > Michael