]> git.proxmox.com Git - mirror_qemu.git/commit
Introduce machine property "audiodev"
authorMartin Kletzander <mkletzan@redhat.com>
Mon, 25 Apr 2022 08:21:50 +0000 (10:21 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 3 Oct 2023 08:29:39 +0000 (10:29 +0200)
commit7a2c7da6448eb8538bccbbc288508bde69bc4c2d
tree00c4b46e99ec13a9c601b474b4ab57a2cc181dc5
parent69a802792ab3705074585a75f5645297ae9f6794
Introduce machine property "audiodev"

Many machine types have default audio devices with no way to set the underlying
audiodev.  Instead of adding an option for each and every one of them, this new
property can be used as a default during machine initialisation when creating
such devices.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
[Make the property optional, instead of including it in all machines. - Paolo]
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/core/machine.c
include/hw/boards.h