mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 10:34:58 -06:00
hw: Add compat machines for 9.1
Add 9.1 machine types for arm/i440fx/m68k/q35/s390x/spapr. Reviewed-by: Cornelia Huck <cohuck@redhat.com> Acked-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Reviewed-by: Zhao Liu <zhao1.liu@intel.com> Cc: Gavin Shan <gshan@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
1e1e48792a
commit
85fa9acda8
10 changed files with 83 additions and 13 deletions
|
@ -4806,14 +4806,25 @@ static void spapr_machine_latest_class_options(MachineClass *mc)
|
|||
type_init(spapr_machine_register_##suffix)
|
||||
|
||||
/*
|
||||
* pseries-9.0
|
||||
* pseries-9.1
|
||||
*/
|
||||
static void spapr_machine_9_0_class_options(MachineClass *mc)
|
||||
static void spapr_machine_9_1_class_options(MachineClass *mc)
|
||||
{
|
||||
/* Defaults for the latest behaviour inherited from the base class */
|
||||
}
|
||||
|
||||
DEFINE_SPAPR_MACHINE(9_0, "9.0", true);
|
||||
DEFINE_SPAPR_MACHINE(9_1, "9.1", true);
|
||||
|
||||
/*
|
||||
* pseries-9.0
|
||||
*/
|
||||
static void spapr_machine_9_0_class_options(MachineClass *mc)
|
||||
{
|
||||
spapr_machine_9_1_class_options(mc);
|
||||
compat_props_add(mc->compat_props, hw_compat_9_0, hw_compat_9_0_len);
|
||||
}
|
||||
|
||||
DEFINE_SPAPR_MACHINE(9_0, "9.0", false);
|
||||
|
||||
/*
|
||||
* pseries-8.2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue