]> git.ipfire.org Git - thirdparty/qemu.git/commit
system/vl: Filter machine list available for a particular target binary
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 23 Mar 2025 21:46:34 +0000 (22:46 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Wed, 30 Apr 2025 19:51:51 +0000 (12:51 -0700)
commit28502121be7b1422af55bbed6f65a273b889ef01
treecab367c0655a7f06621660a7d013de82cc89aaf8
parent5e5a9aea793cfd67541153105b6046436f6ae4a8
system/vl: Filter machine list available for a particular target binary

Binaries can register a QOM type to filter their machines
by filling their TargetInfo::machine_typename field.

This can be used by example by main() -> machine_help_func()
to filter the machines list.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
include/qemu/target-info-impl.h
include/qemu/target-info.h
system/vl.c
target-info-stub.c
target-info.c