> On 16 Jul 2025, at 19.28, Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > Emit a warning when HVF doesn't return the IPA bit length > and return -1 as "this accelerator is not usable", allowing > QEMU to try with the next one (when using '-accel hvf:tcg'). > > Reported-by: Ivan Krasilnikov > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2981 > Signed-off-by: Philippe Mathieu-Daudé <phi...@linaro.org> > --- > hw/arm/virt.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-)
I haven't been able to verify that hv_vm_config_get_max_ipa_size and hv_vm_config_get_default_ipa_size fail if HVF is not available, but assuming so, it looks fine to me. Reviewed-by: Mads Ynddal <m...@ynddal.dk>