aboutsummaryrefslogtreecommitdiff
path: root/accel/hvf
diff options
context:
space:
mode:
authorAlexander Graf <agraf@csgraf.de>2021-01-20 23:44:34 +0100
committerPeter Maydell <peter.maydell@linaro.org>2021-01-29 10:47:28 +0000
commit8a74ce618b647e71ac703b5fe5dba3a2329a4d76 (patch)
treef5621e6c1032730f28748dbe7bd6b7e652e4ca57 /accel/hvf
parent32063086a731aaeb76e1a81623953f8a17fcdb6f (diff)
hvf: Add hypervisor entitlement to output binaries
In macOS 11, QEMU only gets access to Hypervisor.framework if it has the respective entitlement. Add an entitlement template and automatically self sign and apply the entitlement in the build. Signed-off-by: Alexander Graf <agraf@csgraf.de> Reviewed-by: Roman Bolshakov <r.bolshakov@yadro.com> Tested-by: Roman Bolshakov <r.bolshakov@yadro.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'accel/hvf')
-rw-r--r--accel/hvf/entitlements.plist8
1 files changed, 8 insertions, 0 deletions
diff --git a/accel/hvf/entitlements.plist b/accel/hvf/entitlements.plist
new file mode 100644
index 0000000000..154f3308ef
--- /dev/null
+++ b/accel/hvf/entitlements.plist
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>com.apple.security.hypervisor</key>
+ <true/>
+</dict>
+</plist>