mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
hw: Add compat machines for 7.1
Add 7.1 machine types for arm/i440fx/m68k/q35/s390x/spapr. Signed-off-by: Cornelia Huck <cohuck@redhat.com> Message-Id: <20220316145521.1224083-1-cohuck@redhat.com> Reviewed-by: Eric Farman <farman@linux.ibm.com> Reviewed-by: Cédric Le Goater <clg@kaod.org> Acked-by: Laurent Vivier <laurent@vivier.eu> Reviewed-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Yanan Wang <wangyanan55@huawei.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
This commit is contained in:
parent
4667619269
commit
0ca703662e
10 changed files with 82 additions and 10 deletions
|
@ -3022,10 +3022,17 @@ static void machvirt_machine_init(void)
|
|||
}
|
||||
type_init(machvirt_machine_init);
|
||||
|
||||
static void virt_machine_7_0_options(MachineClass *mc)
|
||||
static void virt_machine_7_1_options(MachineClass *mc)
|
||||
{
|
||||
}
|
||||
DEFINE_VIRT_MACHINE_AS_LATEST(7, 0)
|
||||
DEFINE_VIRT_MACHINE_AS_LATEST(7, 1)
|
||||
|
||||
static void virt_machine_7_0_options(MachineClass *mc)
|
||||
{
|
||||
virt_machine_7_1_options(mc);
|
||||
compat_props_add(mc->compat_props, hw_compat_7_0, hw_compat_7_0_len);
|
||||
}
|
||||
DEFINE_VIRT_MACHINE(7, 0)
|
||||
|
||||
static void virt_machine_6_2_options(MachineClass *mc)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue