Skip to contentSkip to conversation

hw/arm/virt: Add 5.0 HW compat props

PATCH Applied Andrew Jones 3 participants 3 messages Jun 16, 2020 – Jun 18, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/arm/virt: Add 5.0 HW compat props

---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)
hw/arm/virt.c +1 -0
index caceb1e4a05f..8b6e6aa7b138 100644
@@ -2375,6 +2375,7 @@ DEFINE_VIRT_MACHINE_AS_LATEST(5, 1)
 static void virt_machine_5_0_options(MachineClass *mc)
 {
     virt_machine_5_1_options(mc);
+    compat_props_add(mc->compat_props, hw_compat_5_0, hw_compat_5_0_len);
 }
 DEFINE_VIRT_MACHINE(5, 0)
 
Signature · 1 line
2.25.4
Reviewed-by on v1 1/1
#1 lore raw

On Tue, 16 Jun 2020 16:08:03 +0200
Andrew Jones <[email protected]> wrote:

Fixes 541aaa1df80d ("hw: add compat machines for 5.1")
Quoted 11 lines
---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)
hw/arm/virt.c +0 -0
index caceb1e4a05f..8b6e6aa7b138 100644

hw/arm/virt.c DEFINE_VIRT_MACHINE_AS_LATEST(5, 1) · line 2381

Quoted 7 lines
hw/arm/virt.c +1 -0
@@ -2375,6 +2375,7 @@ DEFINE_VIRT_MACHINE_AS_LATEST(5, 1)
 static void virt_machine_5_0_options(MachineClass *mc)
 {
     virt_machine_5_1_options(mc);
+    compat_props_add(mc->compat_props, hw_compat_5_0, hw_compat_5_0_len);
 }
 DEFINE_VIRT_MACHINE(5, 0)
 
#2 lore raw
In reply to Andrew Jones
Quoted 12 lines · Andrew Jones
---
 hw/arm/virt.c | 1 +
 1 file changed, 1 insertion(+)
hw/arm/virt.c +0 -0
index caceb1e4a05f..8b6e6aa7b138 100644

hw/arm/virt.c DEFINE_VIRT_MACHINE_AS_LATEST(5, 1) · line 2380

Quoted 6 lines
hw/arm/virt.c +1 -0
@@ -2375,6 +2375,7 @@ DEFINE_VIRT_MACHINE_AS_LATEST(5, 1)
 static void virt_machine_5_0_options(MachineClass *mc)
 {
     virt_machine_5_1_options(mc);
+    compat_props_add(mc->compat_props, hw_compat_5_0, hw_compat_5_0_len);
 }
 DEFINE_VIRT_MACHINE(5, 0)

Applied to target-arm.next, thanks.

-- PMM