On 10/28/25 06:42, Philippe Mathieu-Daudé wrote:
Do not abort in hvf_arm_get_default_ipa_bit_size()
and hvf_arm_get_max_ipa_bit_size() when the IPA can
not be fetched. Return 0 (and document it).

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
---
  target/arm/hvf_arm.h | 11 +++++++++++
  target/arm/hvf/hvf.c |  8 ++------
  2 files changed, 13 insertions(+), 6 deletions(-)

Doesn't this just lead to a nonsensical error_report, e.g.

-m and ,maxmem option values require an IPA range (XX bits) larger than the one supported by the host (0 bits)

?

Is there a reasonable way to populate an Error return?
I guess this only happens with older versions of Darwin, because surely we can always probe the supported IPA size...


r~

Reply via email to