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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 703CBC433FE for ; Mon, 25 Apr 2022 08:35:44 +0000 (UTC) Received: from localhost ([::1]:56274 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1niuC7-0007LR-Cq for qemu-devel@archiver.kernel.org; Mon, 25 Apr 2022 04:35:43 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39960) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1niu02-0006Sc-Pp for qemu-devel@nongnu.org; Mon, 25 Apr 2022 04:23:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:39085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nitzz-0002eV-1B for qemu-devel@nongnu.org; Mon, 25 Apr 2022 04:23:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650874989; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3VCPF3ik0R3B7rgVDOzVH4FeRPM3Hef7iAntqaagMd4=; b=LJfq69kWkgYQZn8HOpQJrYEaJZF1zNpcubRtnj3YGqmGWwDX61DfRPy+/0qJF3nkRduL5E R93ASeqNs+BNZ2YQ6q138PghyAcUOLogSHjSCfwMAlKtTfSjK+zzJZr70D3orVeplP2YxC U5Y6fBYNRQNWEHnS4zhGxnsu1l8Jtqc= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-194-1n76OmBQNaykY1srIqswvw-1; Mon, 25 Apr 2022 04:22:05 -0400 X-MC-Unique: 1n76OmBQNaykY1srIqswvw-1 Received: by mail-wr1-f71.google.com with SMTP id k29-20020adfb35d000000b0020adc94662dso486902wrd.12 for ; Mon, 25 Apr 2022 01:22:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=3VCPF3ik0R3B7rgVDOzVH4FeRPM3Hef7iAntqaagMd4=; b=mtpef9XQmy9sJdLoo2HYKdtk9Kf48yfVu99QGQIo1fpDLH6Lvitg8eB0ofD10QMqCl Nzk7CnJ5vVs79jut84oO2YmLcKlBcHDJdvYzzhW/xixj5ANU/+cX6uOxAfI1rYLIIFyz mQOJRA7HAdfBY6RSMZTYvO3qMqaVSXLHA3XZ0vePfwHLFT4qYpNmz3RDOs5j1CZsFQBL CRcdZy7NZqe6IsgZwLZipIwZlaJnxRrMkqKJjrlTaDXARg5P8qAOy3y946SolulvWZ86 7/MQQYP6DVjP+BI0RLQbawPEsLLae+GstCTwhe4DsUX4nOPvea8JZCQ4t6a3iAvG4Cqy k9ow== X-Gm-Message-State: AOAM5326A71MwrzGsnAuPXdAQpV1CADGTgU2AdZvpaT8robdgcQ5Dwqt u8DHIEpXEzvJ+O/3Faf1ZoWKXgDva8qAK7XDVxW42qMgwkLeux4viop6SuS9rwFnngNkC5CyL6E 5n1Jo3GcD0SnjSAQ= X-Received: by 2002:a5d:6988:0:b0:20a:dff5:54c with SMTP id g8-20020a5d6988000000b0020adff5054cmr747537wru.55.1650874923986; Mon, 25 Apr 2022 01:22:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx4j5DSj5q87OtxnzFybCikCereglf97SpsGgusAy1J75EpHExI9jf3zH9rZytwIsmXuBt0Tw== X-Received: by 2002:a5d:6988:0:b0:20a:dff5:54c with SMTP id g8-20020a5d6988000000b0020adff5054cmr747496wru.55.1650874923751; Mon, 25 Apr 2022 01:22:03 -0700 (PDT) Received: from wheatley.localdomain (nat-pool-brq-t.redhat.com. [213.175.37.10]) by smtp.gmail.com with ESMTPSA id v13-20020a5d4b0d000000b00207a8815063sm8051445wrq.2.2022.04.25.01.22.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Apr 2022 01:22:03 -0700 (PDT) Received: from wheatley.redhat.com (wheatley.k8r.cz [127.0.0.1]) by wheatley.localdomain (Postfix) with ESMTP id F1C2C67B1B55; Mon, 25 Apr 2022 10:22:01 +0200 (CEST) From: Martin Kletzander To: qemu-devel@nongnu.org Subject: [PATCH 00/18] RFC: Remove deprecated audio features Date: Mon, 25 Apr 2022 10:21:43 +0200 Message-Id: X-Mailer: git-send-email 2.35.1 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=170.10.133.124; envelope-from=mkletzan@redhat.com; helo=us-smtp-delivery-124.mimecast.com X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.082, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Stefan Hajnoczi , libvir-list@redhat.com, Christian Schoenebeck , Yanan Wang , Gerd Hoffmann , "Edgar E. Iglesias" , Qiuhao Li , =?UTF-8?q?Herv=C3=A9=20Poussineau?= , =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= , Laurent Vivier , Thomas Huth , Alistair Francis , Alexander Bulekov , Bandan Das , qemu-arm@nongnu.org, Jan Kiszka , Pavel Dovgalyuk , Eduardo Habkost , =?UTF-8?q?Daniel=20P=2E=20Berrang=C3=A9?= , Darren Kenny , Thomas Huth , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-ppc@nongnu.org, Paolo Bonzini Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" I wanted to deal with https://bugzilla.redhat.com/2043498 and I got a=0D suggesstion that removing deprecated features could actually make it=0D easier to propagate the error. In the end (last patch) it turns out the=0D error is still just reported with error_fatal, so it probably is not=0D really needed, but I really wanted to dig into QEMU more and learn some=0D of the internals for quite some time now. So I used the opportunity.=0D The one-liner ended up being an 18 patch series which was, for someone=0D who has just one commit in QEMU codebase, a pretty challenging task.=0D Although I tried my best to do things properly, I am not sure whether I=0D handled everything correctly, hence the RFC.=0D =0D Any comments are very much appreciated. Thanks and have a nice day ;)=0D =0D Martin Kletzander (18):=0D hw/audio: Remove -soundhw support=0D hw/input/tsc210x: Extract common init code into new function=0D hw/audio: Simplify hda audio init=0D hw/audio/lm4549: Add errp error reporting to init function=0D tests/qtest: Specify audiodev=3D and -audiodev=0D ui/vnc: Require audiodev=3D=0D Introduce machine's default-audiodev property=0D audio: Add easy dummy audio initialiser=0D hw/display/xlnx_dp.c: Add audiodev property=0D hw/input/tsc210x.c: Support machine-default audiodev with fallback=0D hw/arm: Support machine-default audiodev with fallback=0D hw/ppc: Support machine-default audiodev with fallback=0D audio: Make AUD_register_card fallible and require audiodev=3D=0D audio: Require AudioState in AUD_add_capture=0D audio: Be more strict during audio backend initialisation=0D audio: Remove legacy audio environment variables and options=0D audio: Remove unused can_be_default=0D audio/spiceaudio: Fail initialisation when not using spice=0D =0D audio/alsaaudio.c | 1 -=0D audio/audio.c | 204 +++----=0D audio/audio.h | 5 +-=0D audio/audio_int.h | 1 -=0D audio/audio_legacy.c | 555 ------------------=0D audio/coreaudio.m | 1 -=0D audio/dbusaudio.c | 1 -=0D audio/dsoundaudio.c | 1 -=0D audio/jackaudio.c | 1 -=0D audio/meson.build | 1 -=0D audio/noaudio.c | 1 -=0D audio/ossaudio.c | 1 -=0D audio/paaudio.c | 1 -=0D audio/sdlaudio.c | 1 -=0D audio/spiceaudio.c | 3 +-=0D audio/wavaudio.c | 1 -=0D docs/about/deprecated.rst | 24 -=0D docs/about/removed-features.rst | 27 +=0D docs/qdev-device-use.txt | 21 +-=0D docs/replay.txt | 2 +-=0D hw/arm/integratorcp.c | 8 +-=0D hw/arm/musicpal.c | 8 +-=0D hw/arm/omap2.c | 11 +-=0D hw/arm/realview.c | 3 +=0D hw/arm/spitz.c | 10 +-=0D hw/arm/versatilepb.c | 3 +=0D hw/arm/vexpress.c | 3 +=0D hw/arm/xlnx-zcu102.c | 4 +=0D hw/arm/z2.c | 12 +-=0D hw/audio/ac97.c | 9 +-=0D hw/audio/adlib.c | 9 +-=0D hw/audio/cs4231a.c | 8 +-=0D hw/audio/es1370.c | 8 +-=0D hw/audio/gus.c | 6 +-=0D hw/audio/hda-codec.c | 37 +-=0D hw/audio/intel-hda.c | 25 +-=0D hw/audio/intel-hda.h | 2 +-=0D hw/audio/lm4549.c | 7 +-=0D hw/audio/lm4549.h | 3 +-=0D hw/audio/meson.build | 1 -=0D hw/audio/pcspk.c | 15 +-=0D hw/audio/pl041.c | 2 +-=0D hw/audio/sb16.c | 9 +-=0D hw/audio/soundhw.c | 177 ------=0D hw/audio/wm8750.c | 5 +-=0D hw/core/machine.c | 23 +=0D hw/display/xlnx_dp.c | 12 +-=0D hw/input/tsc210x.c | 79 ++-=0D hw/ppc/prep.c | 4 +=0D hw/usb/dev-audio.c | 5 +-=0D include/hw/audio/soundhw.h | 15 -=0D include/hw/boards.h | 1 +=0D qemu-options.hx | 37 --=0D .../codeconverter/test_regexps.py | 1 -=0D softmmu/qdev-monitor.c | 2 -=0D softmmu/vl.c | 10 -=0D tests/qtest/ac97-test.c | 3 +-=0D tests/qtest/es1370-test.c | 3 +-=0D tests/qtest/fuzz/generic_fuzz_configs.h | 6 +-=0D tests/qtest/intel-hda-test.c | 15 +-=0D ui/vnc.c | 15 +-=0D 61 files changed, 329 insertions(+), 1140 deletions(-)=0D delete mode 100644 audio/audio_legacy.c=0D delete mode 100644 hw/audio/soundhw.c=0D delete mode 100644 include/hw/audio/soundhw.h=0D =0D -- =0D 2.35.1=0D =0D