Page MenuHomeFreeBSD

bhyve: make BHYVE_SNAPSHOT amd64-only
ClosedPublic

Authored by novel on Jan 25 2026, 11:55 AM.
Tags
None
Referenced Files
F153487041: D54873.id170374.diff
Tue, Apr 21, 10:40 AM
Unknown Object (File)
Sun, Apr 19, 11:14 PM
Unknown Object (File)
Fri, Apr 17, 6:12 AM
Unknown Object (File)
Fri, Apr 17, 6:07 AM
Unknown Object (File)
Wed, Apr 15, 11:51 AM
Unknown Object (File)
Tue, Apr 14, 5:10 AM
Unknown Object (File)
Sun, Apr 12, 4:28 PM
Unknown Object (File)
Mar 13 2026, 6:05 PM

Details

Summary

Build fails with BHYVE_SNAPSHOT enabled on non-amd64,
so add it to BROKEN_OPTIONS for these arches.

PR: 292686

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70128
Build 67011: arc lint + arc unit

Event Timeline

If someone comes along wanting to add snapshot support for other arches, they'll have to revert this patch.

IMO it would be better to just have a check in the bhyve makefile:

.if ${MK_BHYVE_SNAPSHOT} != "no" && ${MACHINE_CPUARCH} != "amd64"
.error bhyve snapshot support is only implemented on amd64.
.endif

If someone comes along wanting to add snapshot support for other arches, they'll have to revert this patch.

IMO it would be better to just have a check in the bhyve makefile:

.if ${MK_BHYVE_SNAPSHOT} != "no" && ${MACHINE_CPUARCH} != "amd64"
.error bhyve snapshot support is only implemented on amd64.
.endif

Yeah, I though about that. On the other hand, I see the BHYVE_SNAPSHOT as a temporary knob that will go away eventually (and users are requesting that: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289848). Not sure what happens sooner: arch64 gets snapshot support or this knob gets deprecated.

This revision is now accepted and ready to land.Jan 27 2026, 2:12 PM
This revision was automatically updated to reflect the committed changes.