On 8/8/25 09:01, Mohamed Mediouni wrote:
Signed-off-by: Mohamed Mediouni <moha...@unpredictable.fr>
---
  hw/arm/virt.c         |  9 ++++++---
  target/arm/hvf-stub.c | 15 +++++++++++++++
  target/arm/hvf/hvf.c  | 41 +++++++++++++++++++++++++++++++++++++++--
  target/arm/hvf_arm.h  |  3 +++
  4 files changed, 63 insertions(+), 5 deletions(-)

I'm getting HV_UNSUPPORTED on Silicon M1, I suppose because this
method is not being called in this series (is there a patch missing?):

+bool hvf_arm_el2_supported(void)
+{
+    bool is_nested_virt_supported;
+    hv_return_t ret = 
hv_vm_config_get_el2_supported(&is_nested_virt_supported);
+    assert_hvf_ok(ret);
+    return is_nested_virt_supported;
+}



Reply via email to