mirror of
https://github.com/qemu/qemu.git
synced 2024-11-24 19:33:39 +08:00
0b47ec4b95
Calling qdev_get_machine() from a QOM instance_init function is fragile because we can't be sure the machine object actually exists. And this happens to break when passing ",help" on the command line to get the list of properties for a CPU core device types : $ ./qemu-system-ppc64 -device power8_v2.0-spapr-cpu-core,help qemu-system-ppc64: ../../hw/core/machine.c:1290: qdev_get_machine: Assertion `machine != NULL' failed. Aborted (core dumped) This used to work before QEMU 5.0, but commit |
||
---|---|---|
.. | ||
a9mpcore.c | ||
a15mpcore.c | ||
arm11mpcore.c | ||
cluster.c | ||
core.c | ||
Kconfig | ||
meson.build | ||
realview_mpcore.c |