I am following example on Apple docs: GUILinuxVirtualMachineSampleApp I am able to create GUI VM first time but from second time onwards it throws error Guest did stop virtual machine.
2023-10-01 20:45:08.991551+0530 GUILinuxVirtualMachineSampleApp[6417:1426889] [client] No error handler for XPC error: Connection invalid
Thought some permission error, app cannot access the VM bundle, tried giving all perms, but didn't help, also the error is not specific as to why did guest stop the VM. Please let me know what might be the cause and how to move forward.
Deleting VM bundle and restarting works but that's not the solution I am looking forward too.