blob: 4ecded9e1203f47c290b6ef7706656bc0a496b8d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
"-device help" does not report all devices
-device help doesn't report all devices.
E.g., devices that are instantiated by a board don't get printed in part because they don't exist when "-device help" is processed. As an experiment I deferred processing of "-device help" as long as possible and some devices were still not printed, so there's more going on here.
QEMU commit hash: 944fdc5e27a5b5adbb765891e8e70e88ba9a00ec
Repro:
$ configure --target-list=arm-softmmu
$ make
$ ./qemu-system-arm -device help | grep npcm7xx
<empty>
I'd expect to see things like npcm7xx-rng in the output.
I can imagine enumerating board-provided devices is a challenge.
Still, it'd be really nice if "-device help" printed them, and having
"-device $driver,help" work as well.
This works as intended, see Markus' reply here:
https://lists.gnu.org/archive/html/qemu-devel/2020-12/msg00337.html
|