From nobody Wed Oct 22 17:15:13 2025 X-Original-To: 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 4csG4x5WDBz6Cv4m for ; Wed, 22 Oct 2025 17:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4csG4x50jdz3pkn for ; Wed, 22 Oct 2025 17:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761153313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PcHApe0H/CeZvyHhe+ebQtDY1J/fA66tvFfOXCH5oI0=; b=b7txR1/492yHul4cA16B47Dq08KSX0SIRYZz0wWty+AoRUF/ft4cCXPsl/MLpMwMN3SZxb pO4iW5/3LO0q/KhpisgCOIoZbYFlziBhf4VrUS2NoinTTzCbWZ+O+d6R/oMAUkmdYB9bKo t0O/r1FAt5Y+kOum9tFcwMb0U7eSrxb2DKLBzmgWXsZvD84Pvv8KZBIq1HEVC+OkXaR64+ ea5q4Itvt6jgnWOQJDvq2fV0qRx+c1sI2oWdFR0YCRmsfe3bWySSpcteSOWwJ8AyJXQYGP dv0pyIdJ+7pWiAOxuLPqOr92GiDfO8LW7/P4ofcFU3f6bxwAHLzVDQK5nlHWgw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1761153313; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=PcHApe0H/CeZvyHhe+ebQtDY1J/fA66tvFfOXCH5oI0=; b=yEECJp7m8Vi4psuB4haaPSVdSpjk4ngqwhzOAk733HGQ+QWMVyA162wCV5wD0aR1SayGFq oUkm/zeQwWhPhv5yYPMydEbopzRbYWVrrdNlN9ssTPX136cn2xTBQiE5KDcBYwW/RuLROC Jm5FnZ6Xcp6C7pajilzCjviGkFnFEvzi9CPhrjvN8rlTI49qDpRAattPd0nG23h1rX8sXt zzadM5E6DQx1KNDHnXLkSLuB8ByEHN12dVeCZy42/2j2T8eetI8Vgwc20cUrq+bTFIkmH0 z4xfvUzbB58+a4GdI1U6VkOpu+xEG1XFkX9/cwa8HjCrsTI/fUhPT1cL5a3S6Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1761153313; a=rsa-sha256; cv=none; b=TAQNU9DO8T6DttcUhKWNuTZX9rmXq/iWkEnp+5PnFaP6h6ZCJ1gT3DjWLJuByv6uLRAc3c iNbo77LPZ8P12vlm+FxwmLfJiqzzgoA9V4y0uViYGVVoUbjd5l8Nxr4OrVgOjEBXxyRt5/ R5qVtuHiDIEaaP/IAHncyMFxt3pi5T46lVqXwQcI9qQFnBYsdNGWJ1JEAqWYSN8Ccg9s5c 5NIKbtGNKNgOR5Ac2mcZy3tTb7VSLoyvkDzk7Y/ga+68DnOZwq5IAeU5njPEMWYArIkEHA flXQHv0P5lNkLtl3D7Q/C3kU7jq9X8QOprATtGGhplZo645eEuXsLWh2pqrfxA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4csG4x4BYkzfVs for ; Wed, 22 Oct 2025 17:15:13 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 59MHFD9M047993 for ; Wed, 22 Oct 2025 17:15:13 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 59MHFDqo047992 for virtualization@FreeBSD.org; Wed, 22 Oct 2025 17:15:13 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: virtualization@FreeBSD.org Subject: [Bug 289848] Enable by default BHYVE_SNAPSHOT Date: Wed, 22 Oct 2025 17:15:13 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bhyve X-Bugzilla-Version: 16.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: virtualization@FreeBSD.org X-Bugzilla-Flags: mfc-stable15? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated 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 MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D289848 --- Comment #3 from Ed Maste --- >From jhb's commit that imported it (483d953a86a2507355f8287c5107dc827a0ff51= 6): While the current implementation is useful for several uses cases, it has a few limitations. The file format for saving the guest state is tied to the ABI of internal bhyve structures and is not self-describing (in that it does not communicate the set of device models present in the system). In addition, the state saved for some device models closely matches the internal data structures which might prove a challenge for compatibility of snapshot files across a range of bhyve versions. The file format also does not currently support versioning of individual chunks of state. As a result, the current file format is not a fixed binary format and future revisions to save and restore will break binary compatiblity of snapshot files. The goal is to move to a more flexible format that adds versioning, etc. and at that point to commit to providing a reasonable level of compatibility. As a result, the current implementation is not enabled by default. It can be enabled via the WITH_BHYVE_SNAPSHOT=3Dyes option for userland builds, and the kernel option BHYVE_SHAPSHOT. It is intentionally not enabled by default at present, and it's unclear if = it currently works, so it definitely won't be enabled by default in 15.0. --=20 You are receiving this mail because: You are the assignee for the bug.=