Page MenuHomeFreeBSD

vmm/hyperv: code cleanup of utility drivers
ClosedPublic

Authored by howard0su_gmail.com on Feb 6 2016, 7:16 AM.
Tags
None
Referenced Files
F81969699: D5216.id13086.diff
Sat, Dec 14, 9:06 AM
F81969695: D5216.id13229.diff
Sat, Dec 14, 9:01 AM
F81969685: D5216.id13090.diff
Sat, Dec 14, 8:49 AM
F81969412: D5216.diff
Sat, Dec 14, 6:31 AM
Unknown Object (File)
Feb 25 2024, 6:56 AM
Unknown Object (File)
Feb 15 2024, 5:08 AM
Unknown Object (File)
Feb 15 2024, 5:08 AM
Unknown Object (File)
Feb 15 2024, 5:04 AM

Details

Summary
  1. give right driver name for devices, instead of hvutilx
  2. move global data into driver softc structure

kvp code cleanup will submit as a separate code review.

Diff Detail

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

Event Timeline

howard0su_gmail.com retitled this revision from to WIP: vmm/hyperv: code cleanup of utility drivers.
howard0su_gmail.com updated this object.
howard0su_gmail.com edited the test plan for this revision. (Show Details)

Update hv_kvp driver using new hv_util functions

Fix hv_kvp and also cleanup a bit.

Cleanup KVP driver to remove all global variables.

Since there are some new added files, shall we modify the copyright to "2016"? I remember Sephie said there are some regulations on copyright.

sys/dev/hyperv/utilities/hv_heartbeat.c
3

Shall we update it to be "2016 Microsoft Corp."?

Since there are some new added files, shall we modify the copyright to "2016"? I remember Sephie said there are some regulations on copyright.

I have not checked the file content yet. However, if majority of the content of the new file is copied from other file, we need to retain the source files copyright.

Since there are some new added files, shall we modify the copyright to "2016"? I remember Sephie said there are some regulations on copyright.

I have not checked the file content yet. However, if majority of the content of the new file is copied from other file, we need to retain the source files copyright.

Most newly added files contains code is copied from original files. I don't think we should change the copyright.

howard0su_gmail.com retitled this revision from WIP: vmm/hyperv: code cleanup of utility drivers to vmm/hyperv: code cleanup of utility drivers.Feb 17 2016, 12:03 PM
howard0su_gmail.com edited edge metadata.
adrian edited edge metadata.
adrian added inline comments.
sys/dev/hyperv/utilities/hv_heartbeat.c
3

I'd update it to be 2014, 2016 Microsoft Corp.

This revision is now accepted and ready to land.Feb 18 2016, 6:21 PM
This revision was automatically updated to reflect the committed changes.