]> git.ipfire.org Git - thirdparty/qemu.git/commit
audio/coreaudio: convert to QOM lifecycle methods
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Fri, 16 Jan 2026 15:02:38 +0000 (19:02 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 23 Feb 2026 13:38:22 +0000 (14:38 +0100)
commitaaaf0f2fdceea3a8b02c7d6f12dc4dd2ebd36f91
treeea3ccb7f3d0c3d40a2c2e954f15b6b1b3afe5e1e
parentf895d598f2e67aeae87bcf343cda00d5e53f6493
audio/coreaudio: convert to QOM lifecycle methods

Remove the legacy driver init/fini callbacks from the CoreAudio backend.

Both coreaudio_audio_init() and coreaudio_audio_fini() were no-ops that
performed no real initialization or cleanup work. Access to the
Audiodev is now through hw->s->dev instead of the drv_opaque pointer.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Mark Cave-Ayland <mark.caveayland@nutanix.com>
Reviewed-by: Akihiko Odaki <odaki@rsg.ci.i.u-tokyo.ac.jp>
audio/coreaudio.m