Skip to content

Instantly share code, notes, and snippets.

@christian-korneck
Created May 14, 2021 12:38
Show Gist options
  • Save christian-korneck/16f06a5d2e1b8f2f1764092ab761be89 to your computer and use it in GitHub Desktop.
Save christian-korneck/16f06a5d2e1b8f2f1764092ab761be89 to your computer and use it in GitHub Desktop.
qemu macOS big sur - hv_error - killed: 9 - codesigning - hypervisor entitlements
  • e.xml:
<?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>
  • brew install qemu
  • codesign --remove-signature /usr/local/bin/qemu-system-x86_64
  • codesign -s - --entitlements e.xml --force /usr/local/bin/qemu-system-x86_64

maybe also need

  • spctl --add /usr/local/bin/qemu-system-x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment