-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
macOS guest does not shut down via utmctl #5425
Comments
Can you try |
The |
Can you try on the latest beta? |
Ok I've just tried again and uninstalled the release version prior to my tests. However, the results regarding the shutdown behavior don't seem to be any different with 4.3.1 beta. |
I am unable to reproduce this issue on a macOS 13.0.1 guest and a macOS 13.4.1 host.
Make sure that no other versions of UTM is on your system (including Trash) and that you are using the same version of utmctl as in the UTM.app bundle. |
You're right. I've deleted everything, installed the Beta again and now it works as you described. Is this a hard kill? It seems to happen so quick. |
I believe the default is to hard kill. |
The
This seems to stop the VM, but when I start it again, I see the shutdown dialog for a second, then the VM reboots. I'd much prefer an ordered shutdown as default for stop and only perform a kill if it is specifically requested. A hard kill with |
Apple only provides two ways of stopping: hard kill or request. To be consistent with the QEMU backend and the published APIs, we go with hard kill as default. |
BEFORE SUBMITTING YOUR ISSUE, PLEASE LOOK AT THE PINNED ISSUES AND USE THE SEARCH FUNCTION TO MAKE SURE IT IS NOT ALREADY REPORTED. ALWAYS COMMENT ON AN EXISTING ISSUE INSTEAD OF MAKING A NEW ONE.
Describe the issue
macOS guest (Ventura) does not shut down when requested via
utmctl stop
- ssh connection stays active.I've started my macOS guest and ssh'ed into it. Then on the host, I use
utmctl
to shut down the VM. The UTM GUI indicates that the machine is shut down, but I'm still connected via SSH from the host and can perform operations - even things like thesay
command are still working.I can even start a new SSH connection to a VM that was stopped via
utmctl stop
, so it's definitively not shut down.Configuration
Crash log
App also crashed during my experiments
UTM-2023-07-05-194445.txt
The text was updated successfully, but these errors were encountered: