]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 296291,301109
authorsephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Jun 2016 06:08:05 +0000 (06:08 +0000)
committersephe <sephe@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 15 Jun 2016 06:08:05 +0000 (06:08 +0000)
commitd954d795a76309cc96340c830c116c48d708d246
treea4c60006ece24477aa3094870ede67f84d215575
parentbd9378acd8f36e14dbf6c617e6db3f5fda77f934
MFC 296291,301109

296291
    hyperv/chan: Factor out the vcpu setting

    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.

    MFC after:  1 week
    Sponsored by:       Microsoft OSTC
    Differential Revision:      https://reviews.freebsd.org/D5504

301109
    hyperv/channel: Only cpu0 is supported as channel target cpu on WIN7

    MFC after:  1 week
    Sponsored by:       Microsoft OSTC

git-svn-id: svn://svn.freebsd.org/base/stable/10@301916 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/hyperv/vmbus/hv_channel_mgmt.c