mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 05:51:53 -06:00
hw: virt: consider hw_compat_6_0
virt-6.0 must consider hw_compat_6_0.
Fixes: da7e13c00b
("hw: add compat machines for 6.1")
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Cornelia Huck <cohuck@redhat.com>
Message-id: 20210610183500.54207-1-xypron.glpk@gmx.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
475d696af7
commit
75228f0522
1 changed files with 2 additions and 0 deletions
|
@ -2764,6 +2764,8 @@ DEFINE_VIRT_MACHINE_AS_LATEST(6, 1)
|
||||||
|
|
||||||
static void virt_machine_6_0_options(MachineClass *mc)
|
static void virt_machine_6_0_options(MachineClass *mc)
|
||||||
{
|
{
|
||||||
|
virt_machine_6_1_options(mc);
|
||||||
|
compat_props_add(mc->compat_props, hw_compat_6_0, hw_compat_6_0_len);
|
||||||
}
|
}
|
||||||
DEFINE_VIRT_MACHINE(6, 0)
|
DEFINE_VIRT_MACHINE(6, 0)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue