* Onboard audio devices and -audiodev none
@ 2020-05-15 7:06 Markus Armbruster
2020-05-15 8:34 ` Gerd Hoffmann
0 siblings, 1 reply; 5+ messages in thread
From: Markus Armbruster @ 2020-05-15 7:06 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel
Watch this:
$ aarch64-softmmu/qemu-system-aarch64 -S -nodefaults -accel qtest -display none -M vexpress-a15 -audiodev none,id=foo
audio: Device lm4549: audiodev default parameter is deprecated, please specify audiodev=foo
I did, didn't I?
Also: use warn_report()?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Onboard audio devices and -audiodev none
2020-05-15 7:06 Onboard audio devices and -audiodev none Markus Armbruster
@ 2020-05-15 8:34 ` Gerd Hoffmann
2020-05-18 4:59 ` Markus Armbruster
0 siblings, 1 reply; 5+ messages in thread
From: Gerd Hoffmann @ 2020-05-15 8:34 UTC (permalink / raw)
To: Markus Armbruster; +Cc: qemu-devel
On Fri, May 15, 2020 at 09:06:20AM +0200, Markus Armbruster wrote:
> Watch this:
>
> $ aarch64-softmmu/qemu-system-aarch64 -S -nodefaults -accel qtest -display none -M vexpress-a15 -audiodev none,id=foo
> audio: Device lm4549: audiodev default parameter is deprecated, please specify audiodev=foo
>
> I did, didn't I?
https://patchwork.ozlabs.org/project/qemu-devel/patch/20200429110214.29037-13-kraxel@redhat.com/
cheers,
Gerd
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Onboard audio devices and -audiodev none
2020-05-15 8:34 ` Gerd Hoffmann
@ 2020-05-18 4:59 ` Markus Armbruster
2020-05-18 7:14 ` Gerd Hoffmann
0 siblings, 1 reply; 5+ messages in thread
From: Markus Armbruster @ 2020-05-18 4:59 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel
Gerd Hoffmann <kraxel@redhat.com> writes:
> On Fri, May 15, 2020 at 09:06:20AM +0200, Markus Armbruster wrote:
>> Watch this:
>>
>> $ aarch64-softmmu/qemu-system-aarch64 -S -nodefaults -accel qtest -display none -M vexpress-a15 -audiodev none,id=foo
>> audio: Device lm4549: audiodev default parameter is deprecated, please specify audiodev=foo
>>
>> I did, didn't I?
>
> https://patchwork.ozlabs.org/project/qemu-devel/patch/20200429110214.29037-13-kraxel@redhat.com/
I don't immediately understand how that addresses my issue, but I trust
it does :)
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Onboard audio devices and -audiodev none
2020-05-18 4:59 ` Markus Armbruster
@ 2020-05-18 7:14 ` Gerd Hoffmann
2020-05-18 8:19 ` Markus Armbruster
0 siblings, 1 reply; 5+ messages in thread
From: Gerd Hoffmann @ 2020-05-18 7:14 UTC (permalink / raw)
To: Markus Armbruster; +Cc: qemu-devel
On Mon, May 18, 2020 at 06:59:01AM +0200, Markus Armbruster wrote:
> Gerd Hoffmann <kraxel@redhat.com> writes:
>
> > On Fri, May 15, 2020 at 09:06:20AM +0200, Markus Armbruster wrote:
> >> Watch this:
> >>
> >> $ aarch64-softmmu/qemu-system-aarch64 -S -nodefaults -accel qtest -display none -M vexpress-a15 -audiodev none,id=foo
> >> audio: Device lm4549: audiodev default parameter is deprecated, please specify audiodev=foo
> >>
> >> I did, didn't I?
> >
> > https://patchwork.ozlabs.org/project/qemu-devel/patch/20200429110214.29037-13-kraxel@redhat.com/
>
> I don't immediately understand how that addresses my issue, but I trust
> it does :)
Well, not the patch itself, it handles pcspk only. But we could use the
same naming convention for all other onboard audio devices too: Have
them try lookup a "onboard" audio backend and use that if it exists.
Don't initialize if not.
Not fully sure this is a good plan, thats why the patch is tagged 'RfC'.
Better idea are welcome. In the blockdev world floppy has a similar
problem, is there any way to link floppy and blockdev without -global
isa-fdc.driveA=... meanwhile?
cheers,
Gerd
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Onboard audio devices and -audiodev none
2020-05-18 7:14 ` Gerd Hoffmann
@ 2020-05-18 8:19 ` Markus Armbruster
0 siblings, 0 replies; 5+ messages in thread
From: Markus Armbruster @ 2020-05-18 8:19 UTC (permalink / raw)
To: Gerd Hoffmann; +Cc: qemu-devel
Gerd Hoffmann <kraxel@redhat.com> writes:
> On Mon, May 18, 2020 at 06:59:01AM +0200, Markus Armbruster wrote:
>> Gerd Hoffmann <kraxel@redhat.com> writes:
>>
>> > On Fri, May 15, 2020 at 09:06:20AM +0200, Markus Armbruster wrote:
>> >> Watch this:
>> >>
>> >> $ aarch64-softmmu/qemu-system-aarch64 -S -nodefaults -accel qtest -display none -M vexpress-a15 -audiodev none,id=foo
>> >> audio: Device lm4549: audiodev default parameter is deprecated, please specify audiodev=foo
>> >>
>> >> I did, didn't I?
>> >
>> > https://patchwork.ozlabs.org/project/qemu-devel/patch/20200429110214.29037-13-kraxel@redhat.com/
>>
>> I don't immediately understand how that addresses my issue, but I trust
>> it does :)
>
> Well, not the patch itself, it handles pcspk only. But we could use the
> same naming convention for all other onboard audio devices too: Have
> them try lookup a "onboard" audio backend and use that if it exists.
> Don't initialize if not.
When an onboard device is an integral part of the physical board we're
emulating, then it should be connected to a suitable null backend when
we don't have a better default.
> Not fully sure this is a good plan, thats why the patch is tagged 'RfC'.
> Better idea are welcome. In the blockdev world floppy has a similar
> problem, is there any way to link floppy and blockdev without -global
> isa-fdc.driveA=... meanwhile?
Yes, but it won't help with onboard sound: -device floppy just works
now. The general problem of configuring onboard devices still needs a
solution. This recent thread has some ideas:
Subject: Configuring onboard devices (was: Failing property setters + hardwired devices + -global = a bad day)
Date: Thu, 30 Apr 2020 12:03:12 +0200 (2 weeks, 3 days, 22 hours ago)
Message-ID: <87tv11e1en.fsf_-_@dusky.pond.sub.org>
https://lists.nongnu.org/archive/html/qemu-devel/2020-04/msg05468.html
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-05-18 8:20 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-15 7:06 Onboard audio devices and -audiodev none Markus Armbruster
2020-05-15 8:34 ` Gerd Hoffmann
2020-05-18 4:59 ` Markus Armbruster
2020-05-18 7:14 ` Gerd Hoffmann
2020-05-18 8:19 ` Markus Armbruster
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.