Date: Tue, 23 Sep 2025 13:10:07 +0200 From: =?UTF-8?Q?Goran_Meki=C4=87?= <meka@tilda.center> To: Matt Churchyard <matt@userve.net>, Jonathan Vasquez <jon@xyinn.org> Cc: "freebsd-virtualization@freebsd.org" <freebsd-virtualization@freebsd.org> Subject: Re: GPU Passthrough on FreeBSD 14.3 (AMD Radeon RX 6900 XT and Windows 10 Pro) Message-ID: <44d9286c-0866-4805-827d-5cb91511800b@tilda.center> In-Reply-To: <77221679b528434788d667441d1a32a2@userve.net> References: <6CV-OY6BcErrWRit9jSpi6fWsYBG3E_Z3u6eTLPcz6foPAZV1gQpZYaZTR7JA_1ot5RQVqrWQaLxJFySXjspIhSbBJGxmckcDQyzxhALNus=@xyinn.org> <CAFYkXjnKjx5VeLujE%2BQ1toz6W4rvX%2Bv6iKbA4212XV_=kYkwOA@mail.gmail.com> <bnYK-9ZTxo-Xo7yaZPfiesz2zJHt6HVKDRN9pZHOSZt8bYRIAVok5rHT6fp7mFyXLJi1hRsvFpwN3dwTLw_skWH6nPXiVsEIWz4OOT16zms=@xyinn.org> <Ags2LfZGkLKZGcRQuyphkcg9wsf5q-HB1cIcphC2Eujdm0EtRkTJdHq-UHj6QLLsT53dLsfLeOib25LpGSIA-4IIqCBMMlXcfNsfCcobRJs=@xyinn.org> <MVEz5qPYM1pdpKQkFxy-FMucy9_MNUG5kn7cQGs0Czl6bU68vITWeEomJxHNqnK-qBrxo8qsdNYVD-B41qnVVz4D_QZP9E4QB75bkG5bu_s=@xyinn.org> <CAFDf7ULvsf0W8iGSYu-PWGWPgzrOC%2BoshOH1c2tDqLtkgbcw1w@mail.gmail.com> <ceec94aac0998e388eee720ad04c0e481cfc601b.camel@FreeBSD.org> <21e892ba-bea5-4e65-91cf-409e5e927f67@FreeBSD.org> <l8EqFTkrrLvYOUcKLKIRbCxHHRDMjM--eRHlFwVyC0oHzp58cXM9bP9uLrbMe3wree4k9tI4ERHgFiBt3s9KB7htgR7FXaNNwmub7bq7K14=@xyinn.org> <77221679b528434788d667441d1a32a2@userve.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On 9/23/25 10:59, Matt Churchyard wrote: > Bhyve is designed to trap a kill (term) signal and trigger acpi poweroff, so this is the documented and intended way to power off a guest > > From the man page: > > SIGNAL HANDLING > bhyve deals with the following signals: > SIGTERM Trigger ACPI poweroff for a VM > > This definitely works and is completely reliable with most guests. Vm-bhyve sends it twice as this seemed to get Windows to respond to the request much more consistently and it would often appear to completely ignore a single kill command. I don't know why this is the case though or whether other hypervisors do something different when requesting a shutdown compared to what bhyve does. Simply triggering acpi poweroff "should" be enough. I can just guess about this. When I press a power button on a desktop with Windows 10, it just ends screensaver (well, blank screen, to be precise), so I have to press it another time to actually turn it off. It does sound like a similar "issue". Regards, meka
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44d9286c-0866-4805-827d-5cb91511800b>
