On 2025-10-20 15:09, Philippe Mathieu-Daudé wrote:
Binaries can register a QOM type to filter their machines
by filling their TargetInfo::machine_typename field.

Commit 28502121be7 ("system/vl: Filter machine list available
for a particular target binary") added the filter to
machine_help_func() but missed the other places where the machine
list must be filtered, such QMP 'query-machines' command used by
QTests, and select_machine(). Fix that.

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  hw/core/machine-qmp-cmds.c | 4 +++-
  monitor/qemu-config-qmp.c  | 3 ++-
  system/vl.c                | 3 ++-
  3 files changed, 7 insertions(+), 3 deletions(-)
Reviewed-by: Pierrick Bouvier <[email protected]>


Reply via email to