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)
Sun, Feb 22, 5:06 PM
Unknown Object (File)
Tue, Feb 10, 4:33 PM
Unknown Object (File)
Sun, Feb 8, 6:20 PM
Unknown Object (File)
Feb 2 2026, 11:00 PM
Unknown Object (File)
Jan 27 2026, 11:20 PM
Unknown Object (File)
Jan 27 2026, 6:06 PM
Unknown Object (File)
Jan 27 2026, 5:35 PM
Unknown Object (File)
Jan 26 2026, 8:50 AM

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

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.