summaryrefslogtreecommitdiffstats
path: root/hw/arm
diff options
context:
space:
mode:
authorCornelia Huck2020-04-29 16:46:05 +0200
committerStefan Berger2020-05-06 16:12:16 +0200
commit541aaa1df80df465c7dc934dc8cf57c0e3dfd6c3 (patch)
tree6b4ce0b9f7f8cff0a3694487c15cb944e8dd4405 /hw/arm
parenthw/arm/virt: Remove the compat forcing tpm-tis-device PPI to off (diff)
downloadqemu-541aaa1df80df465c7dc934dc8cf57c0e3dfd6c3.tar.gz
qemu-541aaa1df80df465c7dc934dc8cf57c0e3dfd6c3.tar.xz
qemu-541aaa1df80df465c7dc934dc8cf57c0e3dfd6c3.zip
hw: add compat machines for 5.1
Add 5.1 machine types for arm/i440fx/q35/s390x/spapr. Acked-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Cornelia Huck <cohuck@redhat.com> Message-id: 20200429144605.7262-1-cohuck@redhat.com
Diffstat (limited to 'hw/arm')
-rw-r--r--hw/arm/virt.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c
index dd024d0780..634db0cfe9 100644
--- a/hw/arm/virt.c
+++ b/hw/arm/virt.c
@@ -2352,10 +2352,16 @@ static void machvirt_machine_init(void)
}
type_init(machvirt_machine_init);
+static void virt_machine_5_1_options(MachineClass *mc)
+{
+}
+DEFINE_VIRT_MACHINE_AS_LATEST(5, 1)
+
static void virt_machine_5_0_options(MachineClass *mc)
{
+ virt_machine_5_1_options(mc);
}
-DEFINE_VIRT_MACHINE_AS_LATEST(5, 0)
+DEFINE_VIRT_MACHINE(5, 0)
static void virt_machine_4_2_options(MachineClass *mc)
{