On Sat, Sep 26, 2026 at 04:15:41PM +0800, Yonggang Luo wrote:
> Date: Sat, 26 Sep 2026 16:15:41 +0800
> From: Yonggang Luo <[email protected]>
> Subject: [PATCH v3 01/10] machine: allow -M name to differ from QOM type
> X-Mailer: git-send-email 2.52.0.windows.1
> 
> - Add machine_class_set_name() so boards can keep a stable -M name
>   when the QOM type is uniquified. machine_class_base_init still
>   defaults the name to the QOM type without -machine.
> - Document that MachineClass::name is the -M name, not the QOM type.
> - Sort -M help by MachineClass::name so order matches the printed names
>   when QOM types are prefixed (arm-virt-11.1-machine vs virt-11.1).
> 
> Signed-off-by: Yonggang Luo <[email protected]>
> Reviewed-by: Daniel P. Berrangé <[email protected]>
> ---
>  hw/core/machine.c        |  6 ++++++
>  include/hw/core/boards.h | 12 +++++++++++-
>  system/vl.c              |  8 +++-----
>  3 files changed, 20 insertions(+), 6 deletions(-)

Reviewed-by: Zhao Liu <[email protected]>


Reply via email to