Page MenuHomeFreeBSD

hyperv: Build and install where supported
ClosedPublic

Authored by imp on Jan 31 2023, 10:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jun 26, 7:14 AM
Unknown Object (File)
Wed, Jun 25, 3:24 AM
Unknown Object (File)
Fri, Jun 20, 4:10 PM
Unknown Object (File)
Thu, Jun 12, 10:21 PM
Unknown Object (File)
Tue, Jun 10, 6:23 AM
Unknown Object (File)
Mon, Jun 9, 10:07 AM
Unknown Object (File)
May 16 2025, 5:27 PM
Unknown Object (File)
May 16 2025, 4:32 PM
Subscribers

Details

Summary

Remove the hard-coded dependency on HYPERV being only x86. Instead, 100%
rely on MK_HYPERV. It's always right (since it's marked BROKEN (so set
to "no") on architectures we don't support).

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

imp requested review of this revision.Jan 31 2023, 10:39 PM
imp created this revision.

Looks good to me; I'll test within the next 24 hours if that helps.

In D38306#870384, @bz wrote:

Looks good to me; I'll test within the next 24 hours if that helps.

Please do. Let me know. I'll commit tomorrow.

Ok, started a native and a cross-build (assuming no build breakage) to also test another fix for something else. Should know "in the morning" and will let you know.

bz added a subscriber: jhb.

Okay, I am confused about what the correct outcome should be but likely it is a pilot error on etcupdate on my behalf.

Neither on amd64 nor arm64 etcupdate did re-install the removed /etc/devd/hyperv.conf file. I tried mergemaster on amd64 and that did install it back.
On both amd64 and arm64 I do have files in /usr/libexec/hyperv/ now so that should be fine.

I believe this solves the issue and I need to figure out how to tell etcupdate to restore manually removed files again ... @jhb ?

This revision is now accepted and ready to land.Feb 1 2023, 1:40 PM
This revision was automatically updated to reflect the committed changes.