On 17/7/25 12:06, Mads Ynddal wrote:
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
This happens with nested macOS guest. Maybe we are missing an earlier
check whether HVF is usable or not, but we shouldn't brutally abort().
I'll try to update the patch description. Annoyingly the GitLab issue
reporter isn't Cc'ed via the mailing list.
assuming so, it looks fine to me.
Reviewed-by: Mads Ynddal <m...@ynddal.dk>