Page MenuHomeFreeBSD

hyperv: load hyperv driver from boot loader automatically.
AcceptedPublic

Authored by howard0su_gmail.com on Apr 15 2016, 6:52 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 23, 11:59 AM
Unknown Object (File)
Wed, May 22, 7:17 AM
Unknown Object (File)
Tue, May 21, 9:01 PM
Unknown Object (File)
Fri, May 10, 8:13 PM
Unknown Object (File)
Thu, May 9, 7:51 PM
Unknown Object (File)
Apr 25 2024, 6:14 AM
Unknown Object (File)
Apr 23 2024, 2:34 PM
Unknown Object (File)
Apr 20 2024, 3:39 AM

Details

Summary

Check CPUID to detect hyper-V then load hyperv.ko from boot loader

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 3297
Build 3331: arc lint + arc unit

Event Timeline

howard0su_gmail.com retitled this revision from to hyperv: load hyperv driver from boot loader automatically..
howard0su_gmail.com updated this object.
howard0su_gmail.com edited the test plan for this revision. (Show Details)

Can we leave the device hyperv in GENERIC? Since atomic ops will have significant cost if hyperv drivers are loaded as modules. We can remove the device hyperv from GENERIC after atomic ops only have inlined version on amd64 (like other archs)

Can we leave the device hyperv in GENERIC? Since atomic ops will have significant cost if hyperv drivers are loaded as modules. We can remove the device hyperv from GENERIC after atomic ops only have inlined version on amd64 (like other archs)

I would like to measure that via performance testing.

howard0su_gmail.com edited edge metadata.

Don't remove hyperv from GENERIC. Add boot loader logic only.

This revision is now accepted and ready to land.Apr 18 2016, 2:06 AM

this change didn't touch efi boot code. need more working here.