Posts

Post not yet marked as solved
4 Replies
380 Views
While launching a VM using the Virtualization framework, it transiently exhibits the following behavior: Start the VM, runs the completion handler, and immediately after, the VM exits with the following error: Error Domain=VZErrorDomain Code=1 "The virtual machine stopped unexpectedly." UserInfo={NSLocalizedFailure=Internal Virtualization error., NSLocalizedFailureReason=The virtual machine stopped unexpectedly.} Inspecting the Console logs, 302 of those logs messages can be found (for a single VM crash): virtual bool IOAccelSysMemory::wire(): memory failed to prepare. Error 0x1
Posted Last updated
.
Post not yet marked as solved
2 Replies
454 Views
Hi, I'm not sure if i encountered a bug, or if this is expected behavior, but i have a cli that makes use of com.apple.security.virtualization entitlement, building it and running it on my local machine works like a charm. Building it on my local machine and running it on an another one results in the following error: Failed to validate the virtual machine configuration. Error Domain=VZErrorDomain Code=2 "The process doesn’t have the “com.apple.security.virtualization” entitlement." UserInfo={NSLocalizedFailure=Invalid virtual machine configuration., NSLocalizedFailureReason=The process doesn’t have the “com.apple.security.virtualization” entitlement.} But checking the entitlement, it's definitely there: $ codesign -d --entitlements - ./cli Executable=[...]/cli [Dict]   [Key] com.apple.security.virtualization   [Value]      [Bool] true Please note that we do not yet have an Apple developer account Thank you
Posted Last updated
.