summary refs log tree commit diff stats
path: root/rust/qemu-api/src
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 00:26:05 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-07-04 14:43:45 +0200
commit5f3bfbd8e2453671176e9759b9dc14584cd11e79 (patch)
treeed1c0e98e76047f5de13590ecfe2c20169ca4d7e /rust/qemu-api/src
parent81490432b667ada39d51247aa56f51110bcb595a (diff)
downloadfocaccia-qemu-5f3bfbd8e2453671176e9759b9dc14584cd11e79.tar.gz
focaccia-qemu-5f3bfbd8e2453671176e9759b9dc14584cd11e79.zip
accel/hvf: Report missing com.apple.security.hypervisor entitlement
We need the QEMU binary signed to be able to use HVF.
Improve the following:

  $ ./qemu-system-aarch64-unsigned -M virt -accel hvf
  qemu-system-aarch64-unsigned: -accel hvf: Error: ret = HV_DENIED (0xfae94007, at ../../accel/hvf/hvf-accel-ops.c:339)
  Abort trap: 6

to:

  $ ./qemu-system-aarch64-unsigned -M virt -accel hvf
  qemu-system-aarch64-unsigned: -accel hvf: Could not access HVF. Is the executable signed with com.apple.security.hypervisor entitlement?

Suggested-by: Shatyuka <shatyuka@qq.com>
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2800
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Reviewed-by: Mads Ynddal <mads@ynddal.dk>
Message-Id: <20250702185332.43650-29-philmd@linaro.org>
Diffstat (limited to 'rust/qemu-api/src')
0 files changed, 0 insertions, 0 deletions