Page MenuHomeFreeBSD

hyperv: load hyperv driver from boot loader automatically.
AcceptedPublic

Authored by howard0su_gmail.com on Apr 15 2016, 6:52 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 OK
Unit
No Unit 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.