From nobody Thu Jun 25 10:05:30 2026 X-Original-To: freebsd-virtualization@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4gmDvr2Vqcz6hwBq for ; Thu, 25 Jun 2026 10:05:44 +0000 (UTC) (envelope-from leo.lundberg99@ikmail.com) Received: from smtp-8faf.mail.infomaniak.ch (smtp-8faf.mail.infomaniak.ch [IPv6:2001:1600:19:fff0::8faf]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "relay.mail.infomaniak.ch", Issuer "YR1" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gmDvq1WGhz3PPH for ; Thu, 25 Jun 2026 10:05:43 +0000 (UTC) (envelope-from leo.lundberg99@ikmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=ikmail.com header.s=20210927 header.b=ZxL6XIBC; dmarc=pass (policy=reject) header.from=ikmail.com; spf=pass (mx1.freebsd.org: domain of leo.lundberg99@ikmail.com designates 2001:1600:19:fff0::8faf as permitted sender) smtp.mailfrom=leo.lundberg99@ikmail.com Received: from smtp-3-0000.mail.infomaniak.ch (smtp-3-0000.mail.infomaniak.ch [10.4.36.107]) by smtp-4-3000.mail.infomaniak.ch (Postfix) with ESMTPS id 4gmDvb0ym9z3mh for ; Thu, 25 Jun 2026 12:05:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ikmail.com; s=20210927; t=1782381931; bh=1I6dRkW+gkoNst2ofXALj4xQsgU72UYjDgMaphwtu/o=; h=Date:To:From:Subject:From; b=ZxL6XIBCUxXi5upaKfejdZmgu1J5DZLGu1wzUytpN6EAcaWaQd1hgwUDZJhO25wue 2zwrALxO+jPI7ODM34OXOJTBnSYOEQilComfjbybjKO+RxkhY7D4OVPQVpXjY2lQAr +wcM85WGX5wTAhy4nY3sQlS855SsdzCJ7ZRFfbb4= Received: from unknown by smtp-3-0000.mail.infomaniak.ch (Postfix) with ESMTPA id 4gmDvZ4gQHzH5m for ; Thu, 25 Jun 2026 12:05:30 +0200 (CEST) Message-ID: <06b91174-b5d3-4203-9115-75b1e38a805d@ikmail.com> Date: Thu, 25 Jun 2026 12:05:30 +0200 List-Id: Discussion List-Archive: https://lists.freebsd.org/archives/freebsd-virtualization List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-virtualization@freebsd.org Sender: owner-freebsd-virtualization@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US To: freebsd-virtualization@freebsd.org From: Leo Subject: Graceful shutdown of Bhyve VM? Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Feedback-ID: :5d6c9acb3b882cc:ham:156fd7c29312541 X-Infomaniak-Routing: alpha X-Spamd-Result: default: False [-2.99 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; SUBJECT_ENDS_QUESTION(1.00)[]; NEURAL_HAM_SHORT(-0.99)[-0.992]; DMARC_POLICY_ALLOW(-0.50)[ikmail.com,reject]; R_SPF_ALLOW(-0.20)[+ip6:2001:1600:19::/48:c]; R_DKIM_ALLOW(-0.20)[ikmail.com:s=20210927]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; ASN(0.00)[asn:29222, ipnet:2001:1600::/32, country:CH]; MIME_TRACE(0.00)[0:+]; FROM_HAS_DN(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-virtualization@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; TO_DN_NONE(0.00)[]; MLMMJ_DEST(0.00)[freebsd-virtualization@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; DKIM_TRACE(0.00)[ikmail.com:+] X-Spamd-Bar: -- X-Rspamd-Queue-Id: 4gmDvq1WGhz3PPH 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