From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-ej1-f49.google.com (mail-ej1-f49.google.com [209.85.218.49]) by mx.groups.io with SMTP id smtpd.web12.8072.1623246237526946526 for ; Wed, 09 Jun 2021 06:43:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@gmail.com header.s=20161025 header.b=f/ky4uGp; spf=pass (domain: gmail.com, ip: 209.85.218.49, mailfrom: harlydavidsen@gmail.com) Received: by mail-ej1-f49.google.com with SMTP id k7so38535546ejv.12 for ; Wed, 09 Jun 2021 06:43:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=fo6p+7gFSgpQqBomy735DCMRTNxD9ppKhtPNBAoFrmo=; b=f/ky4uGpRyJFxLTma2i0/nd0cAfLrAONGp2/h0PfFXTiEszkUsXmLUvNXGbSsemCnO XyzLsPZ9j4yZrq+y32aZ+NrnN1iI3QH+athACcKjfEWKHMFPxl4/t79/duwCubFuKfwX A6r3JeNDM9q5R2aQ7JYv9mlHKG4+nw62XsBqoq8pFMNj8wv/WhwWJ1dCB6qnwXhxbGPb coXcwCES72AUCJsiCjZUo3qGd0fOcv9r3UMujlN4zoNMbA7xGdqAvSoZ4hhHMnheRmwT sQmkJskMCLMzUFyZ7VcL3FFZsDl/3t73BbAV5GI+KT3pgvYBe6YpgC+mR/I7xMLRidjJ +Clg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=fo6p+7gFSgpQqBomy735DCMRTNxD9ppKhtPNBAoFrmo=; b=gJPdSQak6rYDXpUtV7KuHkNJNSuCjymdgenP1M2NVaFQd+ZagkY9ufmfaVHro50iMw lySyDREPrt2ZyRiu/dwF88q8GQVAzaWf6OlKwh+QNK0qXx+4ZjmMjO6xtZDHOWxOyIvS KjA9VYwnJbV4xwDyVPeGzylBrwCoXrd2G3BZQF26aVDpfWKChHjkuj8ITdzk3zbXzBH0 L5FyDiMKXTKNustMRisHnCtAUoeLXxrLVXhb4AlHJBLT2x1vCWvWVqiBxQpsz1DVLpKj QVjydQa3NAA6wkhyvrGZL2vrvdGKwz8Rzeh16i6tGzBXfNLPcipl0jZLBxmDnvyMcWZ2 VaCA== X-Gm-Message-State: AOAM531iobqq4+JD5d64+YKNEI5pvdzTqx+M+8Pug8kYN3TnW+es4WqG bYsPPL5rJyyCPJiC4rxZe4vbw6NuqbR5jiU86/4= X-Google-Smtp-Source: ABdhPJzaTBGrXbhVt9AZz+GV8o/trW+CaSZ1HfwFKOr0oDGNXO00hVKnKupu3YL94xk3YFSKRrDwpGQwE6mqleqy8RM= X-Received: by 2002:a17:906:405:: with SMTP id d5mr28293350eja.403.1623246235802; Wed, 09 Jun 2021 06:43:55 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:2490:0:0:0:0:0 with HTTP; Wed, 9 Jun 2021 06:43:55 -0700 (PDT) In-Reply-To: <20210609124822.6ohlxxuzk7izej57@leviathan> References: <74f2a141-fe7c-b25c-ab65-aea8989cc885@redhat.com> <20210607213349.zyqbavq2kqm726h3@leviathan> <20210608202506.5ukz7kro33c7d54x@leviathan> <883acfee-86e1-6924-ce0f-ae65ce449fa0@ipxe.org> <20210609124822.6ohlxxuzk7izej57@leviathan> From: "Ethin Probst" Date: Wed, 9 Jun 2021 08:43:55 -0500 Message-ID: Subject: Re: [edk2-devel] VirtIO sound device in qemu? To: Leif Lindholm Cc: Michael Brown , Laszlo Ersek , devel@edk2.groups.io Content-Type: text/plain; charset="UTF-8" Didn't know you could do USB passthrough, that would be useful -- I do have a USB mixer that I could test. And I could easily get USB headphones as well. On 6/9/21, Leif Lindholm wrote: > 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 > -- Signed, Ethin D. Probst