diff options
author | Eric Auger <eric.auger@redhat.com> | 2018-10-30 15:23:56 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-11-02 14:03:21 +0000 |
commit | 7c3db4fdd29bb1d660b0ff4da02664e7ecafaaed (patch) | |
tree | a832fbe2343e791c85f77d66d8a3880d02ef1b51 /hw/arm | |
parent | 69e2d03843412b9c076515b3aa9a71db161b6a1a (diff) | |
download | qemu-7c3db4fdd29bb1d660b0ff4da02664e7ecafaaed.zip qemu-7c3db4fdd29bb1d660b0ff4da02664e7ecafaaed.tar.gz qemu-7c3db4fdd29bb1d660b0ff4da02664e7ecafaaed.tar.bz2 |
hw/arm/virt: Set VIRT_COMPAT_3_0 compat
We are missing the VIRT_COMPAT_3_0 definition and setting.
Let's add them.
Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Message-id: 20181024085602.16611-1-eric.auger@redhat.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'hw/arm')
-rw-r--r-- | hw/arm/virt.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/hw/arm/virt.c b/hw/arm/virt.c index 9f67782..a2b8d8f 100644 --- a/hw/arm/virt.c +++ b/hw/arm/virt.c @@ -1871,6 +1871,9 @@ static void virt_machine_3_1_options(MachineClass *mc) } DEFINE_VIRT_MACHINE_AS_LATEST(3, 1) +#define VIRT_COMPAT_3_0 \ + HW_COMPAT_3_0 + static void virt_3_0_instance_init(Object *obj) { virt_3_1_instance_init(obj); @@ -1879,6 +1882,7 @@ static void virt_3_0_instance_init(Object *obj) static void virt_machine_3_0_options(MachineClass *mc) { virt_machine_3_1_options(mc); + SET_MACHINE_COMPAT(mc, VIRT_COMPAT_3_0); } DEFINE_VIRT_MACHINE(3, 0) |