Page MenuHomeFreeBSD

hyperv/chan: Factor out the vcpu setting
ClosedPublic

Authored by sepherosa_gmail.com on Mar 1 2016, 9:31 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jul 29, 8:00 AM
Unknown Object (File)
Jul 26 2025, 2:10 AM
Unknown Object (File)
Jul 25 2025, 5:47 PM
Unknown Object (File)
Jul 16 2025, 11:00 AM
Unknown Object (File)
Jul 8 2025, 5:44 AM
Unknown Object (File)
Jul 8 2025, 1:22 AM
Unknown Object (File)
Jun 17 2025, 1:08 AM
Unknown Object (File)
Jun 15 2025, 10:22 PM
Subscribers
None

Details

Summary

And use it for cpu0 assignment; it does not sound right to assume that cpu0 maps to vcpu0. And this factored out function will be exposed to drivers, if driver specific CPU binding is needed, e.g. hn(4).

Move default cpu select after saving channel offer message. This makes sure that all useful information of the channel has been setup.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sepherosa_gmail.com retitled this revision from to hyperv/chan: Factor out the vcpu setting.
sepherosa_gmail.com updated this object.
sepherosa_gmail.com edited the test plan for this revision. (Show Details)
This revision was automatically updated to reflect the committed changes.