Re: Graceful shutdown of Bhyve VM?
- Reply: Leo Lundberg : "Re: Graceful shutdown of Bhyve VM?"
- Reply: Polarian : "Re: Graceful shutdown of Bhyve VM?"
- In reply to: Leo : "Graceful shutdown of Bhyve VM?"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jun 2026 10:13:53 UTC
Hello, I use the way described in the FreeBSD Handbook, works perfectly for me: Bye, Rainer ————— Quote: Destroying a virtual machine this way means killing it immediately. Any unsaved data will be lost, open files and filesystems may get corrupted. To gracefully shut down a virtual machine, send a TERM signal to its bhyve process instead. This triggers an ACPI shutdown event for the guest: # ps ax | grep bhyve 17424 - SC 56:48.27 bhyve: guestvm (bhyve) # kill 17424 ———— On 25 Jun 2026, at 12:05, Leo wrote: > Hello, I'm using bhyve without any front-ends like the vm-bhyve package and whatnot, I was wondering how to properly perform a graceful shutdown of a VM without explicitly calling shutdown within it. I know qemu can send an ACPI shutdown signal to it, and apparently vm-bhyve can do something similar but it isn't clear through what mechanism it does this. > > / Leo