Page MenuHomeFreeBSD

bhyve: make BHYVE_SNAPSHOT amd64-only
ClosedPublic

Authored by novel on Jan 25 2026, 11:55 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 13, 6:05 PM
Unknown Object (File)
Thu, Mar 12, 7:05 AM
Unknown Object (File)
Thu, Mar 12, 7:01 AM
Unknown Object (File)
Fri, Mar 6, 11:11 PM
Unknown Object (File)
Fri, Mar 6, 3:25 AM
Unknown Object (File)
Feb 22 2026, 5:06 PM
Unknown Object (File)
Feb 10 2026, 4:33 PM
Unknown Object (File)
Feb 8 2026, 6:20 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 Not Applicable
Unit
Tests Not Applicable

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.