Re: [PATCH v2 10/14] hw/arm: Prefer arm_feature(EL2) over object_property_find(has_el2)

2024-01-09 Thread Philippe Mathieu-Daudé
On 9/1/24 19:09, Philippe Mathieu-Daudé wrote: The "has_el2" property is added to ARMCPU when the ARM_FEATURE_EL2 feature is available. Rather than checking whether the QOM property is present, directly check the feature. Suggested-by: Markus Armbruster Signed-off-by: Philippe Mathieu-Daudé --

[PATCH v2 10/14] hw/arm: Prefer arm_feature(EL2) over object_property_find(has_el2)

2024-01-09 Thread Philippe Mathieu-Daudé
The "has_el2" property is added to ARMCPU when the ARM_FEATURE_EL2 feature is available. Rather than checking whether the QOM property is present, directly check the feature. Suggested-by: Markus Armbruster Signed-off-by: Philippe Mathieu-Daudé --- hw/arm/vexpress.c | 3 ++- hw/arm/virt.c