On 3/4/22 12:14, Peter Maydell wrote:
Yes, that works.  I'll send an update.

Do check it with KVM as well, to check the "CPU doesn't actually
have that property" case...

Argh!  No, doesn't work.

Unexpected error in object_property_find_err() at ../src/qom/object.c:1299:
qemu-system-aarch64: can't apply global max-arm-cpu.lpa2=off: Property 'max-arm-cpu.lpa2' not found

I think staying with the v4 patch is best. It matches quite a few other examples in hw/arm, and uses the existence of the property as part of the logic already.


r~

Reply via email to