Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Feb 2015 06:29:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 196185] emulators/hyperv-is: Update Hyper-V ports for FreeBSD 10.1
Message-ID:  <bug-196185-13-6MxohQ25Ms@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-196185-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-196185-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196185

--- Comment #12 from FangJun <fangjun1024@hotmail.com> ---
(In reply to Xin LI from comment #11)
@Xin, thanks for your comments.

1) In the built-in code, hv_util.c probe() still return BUS_PROBE_DEFAULT. We
only use BUS_PROBE_VENDOR with the hyperv-is ports to enable our vendor
supplied driver.

2) We use the name "hyperv-utils-port" is intentionally, because it is weird
that the loader cannot load the hv_utils.ko but it is OK to load other hyperv
modules(eg. hv_storvsc.ko). For example, we modify the /boot/loader.conf as
below:
hv_storvsc_load="YES"
hv_utils_load="YES"

And then reboot system, we can find only storvsc can be loaded:
/boot/kernel/kernel text=0xf8f898 data=0x124a30+0x2055c0
syms=[0x8+0x1405e0+0x8+0x15b077]
/boot/kernel/hv_storvsc.ko size 0x6278 at 0x1956000
Booting...

And if we change the name, such as hv_utils_test.ko, hv_utils can be loaded
successfully. @Xin, ao you have any advice?
For this reason and in ooder to allow the user to know the ports is in use, we
also change hv_storvsc.ko to hv_storvsc_ports.ko.

3) The hyperv_support.S will not be used this time, we will delete it.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-196185-13-6MxohQ25Ms>