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, Jul 25, 6:29 AM
Unknown Object (File)
Thu, Jul 25, 3:38 AM
Unknown Object (File)
Mon, Jul 15, 5:19 PM
Unknown Object (File)
Mon, Jul 15, 4:26 PM
Unknown Object (File)
Mon, Jul 15, 4:10 PM
Unknown Object (File)
Mon, Jul 15, 3:38 PM
Unknown Object (File)
Wed, Jul 10, 4:28 PM
Unknown Object (File)
Thu, Jun 27, 5:51 PM

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 3281
Build 3315: 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.