FreeBSD Bugzilla – Attachment 147463 Details for
Bug 182209
[new port] emulators/hyperv-ic: Ports containing Hyper-V integration components for FreeBSD
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
shar file
hyperv.shar (text/plain), 21.61 KB, created by
Kylie
on 2014-09-19 09:44:52 UTC
(
hide
)
Description:
shar file
Filename:
MIME Type:
Creator:
Kylie
Created:
2014-09-19 09:44:52 UTC
Size:
21.61 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># hyperv-is ># hyperv-is/pkg-deinstall ># hyperv-is/pkg-install ># hyperv-is/pkg-descr ># hyperv-is/pkg-plist ># hyperv-is/distinfo ># hyperv-is/Makefile ># hyperv-is/files ># hyperv-is/files/patch-pkg-install ># hyperv-is/files/patch-pkg-plist ># hyperv-is/files/patch-pkg-deinstall ># hyperv-is/files/patch-pkg-descr ># >echo c - hyperv-is >mkdir -p hyperv-is > /dev/null 2>&1 >echo x - hyperv-is/pkg-deinstall >sed 's/^X//' >hyperv-is/pkg-deinstall << 'db86977df7236024435d800e621afbd9' >X#!/bin/sh >X# >X# make deinstall or pkd_delete script >X# cleans the hyperv labels >X# >X >Xif [ "$2" = "DEINSTALL" ]; then >X test="/boot/loader.conf" >X >X if [ -f $test ]; then >X echo "===> File $test exists" >X echo "Removing Hyper-v BIS drivers labels " >X # Deleting Hyper-v BIS driver names >X sed -i "" '/Loader labels for Hyper-v BIS driver/d' /boot/loader.conf >X sed -i "" '/hv_vmbus_load/d' /boot/loader.conf >X sed -i "" '/hv_utils_load/d' /boot/loader.conf >X sed -i "" '/hv_storvsc_load/d' /boot/loader.conf >X sed -i "" '/hv_netvsc_load/d' /boot/loader.conf >X sed -i "" '/hv_ata_pci_disengage_load/d' /boot/loader.conf >X else >X echo "===> File $test not found" >X fi >X >Xecho "===> Removing kvp daemon label" >Xsed -i "" '/Labels for KVP daemon/d' /etc/rc.conf >Xsed -i "" '/hv_kvp_daemon_enable/d' /etc/rc.conf >X# Remove rc.conf and loader.conf if null >Xif [ -f /etc/rc.conf ] && [ ! -s /etc/rc.conf ]; then >X rm /etc/rc.conf >Xfi >X >Xif [ -f /boot/loader.conf ] && [ ! -s /boot/loader.conf ]; then >X rm /boot/loader.conf >Xfi >X >Xfi >Xexit 0 >db86977df7236024435d800e621afbd9 >echo x - hyperv-is/pkg-install >sed 's/^X//' >hyperv-is/pkg-install << '3c520b87be02d411e687c6851c9f02c3' >X#!/bin/sh >X# >X# make install or pkg_add script >X# Checks labels/gptids for roots and swap partitions >X# adds hyperv labels in loader.conf >X# >X >X#Check poudriere workdirs >XPOD_WRK_HOME=/wrkdirs >Xif [ ! -d ${POD_WRK_HOME} ]; then >X POD_WRK_HOME=/ >Xfi >X >XWRKDIRS=${POD_WRK_HOME}$(pwd |awk '{print $1}')/work/stage >Xif [ ! -d ${WRKDIRS} ]; then >X WRKDIRS=/ >Xfi >X >Xif [ "$2" = "PRE-INSTALL" ]; then >Xecho "===> Pre-install Check" >X >X#rootfs check >Xroot_flag=$(mount | awk '/ on \/ / { print $1 }' | cut -d / -f3-) >Xif [ "$root_flag" != "" ]; then >X fs_test=$(glabel status | awk '{print $1}' | grep $root_flag) >X if [ "$fs_test" == "" ]; then >X echo " xxx rootfs Label/gptid missing in fstab" >X fi >Xelse >X echo " xxx rootfs Label/gptid missing in fstab" >Xfi >X#swap check >Xswap_flag=$(grep swap /etc/fstab | awk '{print $1}' | cut -d / -f3-) >Xif [ "$swap_flag" != "" ]; then >X sw_test=$(glabel status | awk '{print $1}' | grep $swap_flag) >X if [ "$sw_test" == "" ]; then >X echo " xxx swap Label/gptid missing in fstab" >X fi >Xelse >X echo " xxx swap Label/gptid missing in fstab " >Xfi >X >Xif [ "$fs_test" != "" -a "$sw_test" != "" ]; then >X echo "===> Labels/gptids Found" >X echo "===> Hyper-V BIS Installation Continues" >Xelse >X echo "===> Labels/gptids Not found" >X echo "===> Hyper-V BIS Installation Aborted" >X echo "===> Refer to Disk UUID section in README document" >X echo "===> Please refer the Prerequisites page and complete all steps" >X echo "WWW: https://github.com/FreeBSDonHyper-V/Hyperv-Ports/wiki/Prerequisites " >X exit -1 >Xfi >X >Xelse if [ "$2" = "POST-INSTALL" ]; then >X test=${WRKDIRS}"/boot/loader.conf.bak" >X if [ -f ${WRKDIRS}/boot/kernel/linker.hints ]; then >X rm -f ${WRKDIRS}/boot/kernel/linker.hints >X fi >X >X echo "Adding for Hyper-v drivers" >X >X # Deleting Hyper-v BIS driver names >X sed -i "" '/Loader labels for Hyper-v BIS driver/d' ${WRKDIRS}/boot/loader.conf.bak >X sed -i "" '/hv_vmbus_load/d' ${WRKDIRS}/boot/loader.conf.bak >X sed -i "" '/hv_utils_load/d' ${WRKDIRS}/boot/loader.conf.bak >X sed -i "" '/hv_storvsc_load/d' ${WRKDIRS}/boot/loader.conf.bak >X sed -i "" '/hv_netvsc_load/d' ${WRKDIRS}/boot/loader.conf.bak >X sed -i "" '/hv_ata_pci_disengage_load/d' ${WRKDIRS}/boot/loader.conf.bak >X >X #Hyper-v driver names >X echo "# Loader labels for Hyper-v BIS drivers -do not modify" >> ${WRKDIRS}/boot/loader.conf.bak >X echo "hv_vmbus_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X echo "hv_utils_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X echo "hv_storvsc_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X echo "hv_netvsc_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X echo "hv_ata_pci_disengage_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X# KVP - daemon label >X echo "===> Adding kvp daemon label" >X sed -i "" '/Labels for KVP daemon/d' ${WRKDIRS}/etc/rc.conf.bak >X sed -i "" '/hv_kvp_daemon_enable/d' ${WRKDIRS}/etc/rc.conf.bak >X echo "# Labels for KVP daemon -do not modify" >> ${WRKDIRS}/etc/rc.conf.bak >X echo "hv_kvp_daemon_enable=\"YES\"" >> ${WRKDIRS}/etc/rc.conf.bak >X cp ${WRKDIRS}/boot/loader.conf.bak /boot/loader.conf >X cp ${WRKDIRS}/etc/rc.conf.bak /etc/rc.conf >Xfi >Xfi >Xexit 0 >3c520b87be02d411e687c6851c9f02c3 >echo x - hyperv-is/pkg-descr >sed 's/^X//' >hyperv-is/pkg-descr << 'f4b7e228f12133b0b028061765b6d0dd' >XNAME >X hyperv-is -- FreeBSD Integration Service on Hyper-v >X >XSYNOPSIS >X The hyperv-is provision a collection of kernel mode drivers as well as >X user-space daemons to facilitate integration with Hyper-v to provide a >X feature rich and high performance FreeBSD guest experience. >X >X >XDESCRIPTION >X The FreeBSD Integration Service on Hyper-v includes a collection of kernel >X mode drivers as well as user-space daemons to interact with the drivers >X that are required to run Hyper-V-specific devices known as FreeBSD >X Integration Services (BIS). >X It is to facilitate integration with Hyper-v to provide a feature rich >X and high performance FreeBSD guest experience. >X As of this writing, the hyperv-is ports package >X installs the following binaries: >X >X a) hv_vmbus.ko - This is a loadable kernel module that provides a high >X performance communication interface between the FreeBSD guest partition >X and the Hyper-V root partition running Windows Server software. This mod- >X ule is located under /boot/kernel/. >X >X b) hv_storvsc.ko - This is a loadable kernel module that provides FreeBSD >X guests with optimized access to physical storage devices. This module is >X located under /boot/kernel/. >X >X c) hv_netvsc.ko - This is a loadable kernel module that provides FreeBSD >X guests with optimized access to the physical network card. This module >X is located under /boot/kernel/. >X >X d) hv_utils.ko - This is a loadable kernel module that provides FreeBSD >X guests with time synchronization, heartbeat, console shutdown and key-value pair >X functionality. This module is located under /boot/kernel/. >X >X e) hv_ata_pci_disengage.ko - This is a loadable kernel module that dis- >X ables the FreeBSD native ATA driver in order to avoid conflicts with the >X hv_storvsc driver. This module is located under /boot/kernel/. >X >X f) hv_kvp_daemon - This is a user mode daemon that communicates with the >X hv_utils driver to manage user configurable metadata in the form of key >X value pairs. This daemon also allows the system administrator to read >X and set IP addresses assigned to a FreeBSD guest. The daemon utilizes the >X following collection of scripts stored under /usr/local/hyperv/scripts: >X hv_get_dhcp_info >X hv_get_dns_info >X hv_set_ifconfig >X >X The daemon is located under /usr/sbin/. The corresponding daemon script >X named hv_kvpd is present under /etc/rc.d/. >X >XPRE-REQUISITE >X Before you install hyperv-is ports, please ensure that you have added >X disk labels or UUIDs to all devices listed in fstab. >X >XSEE ALSO >X hv_vmbus(4), hv_utils(4), hv_netvsc(4), hv_storvsc(4), >X hv_ata_pci_disengage(4), hv_kvp_daemon(8) >X >XHISTORY >X Support for hyperv-is ports was first released in September 2013. The >X ports were developed through a joint effort between Citrix Inc., >X Microsoft Corp. and Network Appliance Inc.. >X >XAUTHORS >X FreeBSD support for hyperv-is was first added by Microsoft BSD >X Integration Services Team <bsdic@microsoft.com>. >f4b7e228f12133b0b028061765b6d0dd >echo x - hyperv-is/pkg-plist >sed 's/^X//' >hyperv-is/pkg-plist << 'dc3af9f4a971bdee44bd9b2f6d0c44ed' >X@cwd /boot/kernel >Xhv_ata_pci_disengage.ko >Xhv_netvsc.ko >Xhv_storvsc.ko >Xhv_utils.ko >Xhv_vmbus.ko >X@cwd /usr/local/hyperv/scripts >Xhv_get_dhcp_info >Xhv_get_dns_info >Xhv_set_ifconfig >X@cwd /etc/rc.d >Xhv_kvpd >X@cwd /usr/sbin >Xhv_kvp_daemon >X@cwd /usr/share/man/man1 >Xhyperv-is.1.gz >X@cwd /usr/share/man/man4 >Xhv_ata_pci_disengage.4.gz >Xhv_kvp.4.gz >Xhv_netvsc.4.gz >Xhv_storvsc.4.gz >Xhv_utils.4.gz >Xhv_vmbus.4.gz >X@cwd /usr/share/man/man8 >Xhv_kvp_daemon.8.gz >X@cwd /boot >Xloader.conf.bak >X@cwd /etc >Xrc.conf.bak >X@cwd / >X@dirrmtry /usr/local/hyperv/scripts >X@dirrmtry /usr/local/hyperv >dc3af9f4a971bdee44bd9b2f6d0c44ed >echo x - hyperv-is/distinfo >sed 's/^X//' >hyperv-is/distinfo << '9b4f2f7673f4839a98b4e53d4eaaf56f' >XSHA256 (hyperv-is-8.4.1.1.tar.gz) = 073e14f709f95f82c68c152e07f55b7b85a58b03f4d129bed0f30427831f9fb7 >XSIZE (hyperv-is-8.4.1.1.tar.gz) = 107144 >XSHA256 (hyperv-is-9.1.1.1.tar.gz) = d7dd25d7389491a19e4eb5745e4ed178a800024d1c2b470b40d5406c4e49cf08 >XSIZE (hyperv-is-9.1.1.1.tar.gz) = 107107 >XSHA256 (hyperv-is-9.2.1.1.tar.gz) = f675139b4ecf597d752b64fcb3d6a9eae6cdc32c831b8dec77221200bb56d52c >XSIZE (hyperv-is-9.2.1.1.tar.gz) = 107105 >XSHA256 (hyperv-is-9.3.1.1.tar.gz) = f675139b4ecf597d752b64fcb3d6a9eae6cdc32c831b8dec77221200bb56d52c >XSIZE (hyperv-is-9.3.1.1.tar.gz) = 107105 >XSHA256 (hv-kvp-1.0.tar.gz) = c2c60ae645cae75b25934aae7b18c8a29bf00660a1e4ade5d8f31bb98d7ecc78 >XSIZE (hv-kvp-1.0.tar.gz) = 30815 >9b4f2f7673f4839a98b4e53d4eaaf56f >echo x - hyperv-is/Makefile >sed 's/^X//' >hyperv-is/Makefile << '4e23e705ff6899a9f5d3177d806a802e' >X# $FreeBSD$ >XUSES+=uidfix >XPORTNAME= hyperv-is >XPORTVERSION= 1.1 >XCATEGORIES= kld >XMASTER_SITES= https://github.com/FreeBSDonHyper-V/Hyperv-Ports/raw/hyperv-is-master/BIS-${PORTVERSION}/FreeBSD-${OSREL}/ports/ >XMAINTAINER= bsdic@microsoft.com >XCOMMENT= FreeBSD Integration Service on Hyper-v >X >XONLY_FOR_ARCHS= amd64 i386 >X.include <bsd.port.pre.mk> >XFILE_84= hyperv-is-8.4.${PORTVERSION}${EXTRACT_SUFX} >XFILE_91= hyperv-is-9.1.${PORTVERSION}${EXTRACT_SUFX} >XFILE_92= hyperv-is-9.2.${PORTVERSION}${EXTRACT_SUFX} >XFILE_93= hyperv-is-9.3.${PORTVERSION}${EXTRACT_SUFX} >XFILE_100= hv-kvp-${PORTVERSION}${EXTRACT_SUFX} >XFETCH_ARGS+= -Fpr >XCC=clang >XCXX=clang++ >XCPP=clang-cpp >X >X.if ${OPSYS} != FreeBSD >XIGNORE= not supported ${OPSYS} >X.endif >X >X.if ${OSREL} == "8.4" >XDISTFILES= ${FILE_84} >X.elif ${OSREL} == "9.1" >XDISTFILES= ${FILE_91} >X.elif ${OSREL} == "9.2" >XDISTFILES= ${FILE_92} >X.elif ${OSREL} == "9.3" >XDISTFILES= ${FILE_93} >X.elif ${OSREL} == "10.0" >XPORTNAME= hv-kvp >XPORTVERSION= 1.0 >XDISTFILES= ${FILE_100} >X.else >XIGNORE= not supported $${OSREL} (${OSREL}) >X.endif >X >XINSTALLPATCH= ${PATCHDIR}/patch-pkg-install >XDEINSTALLPATCH= ${PATCHDIR}/patch-pkg-deinstall >XLISTPATCH= ${PATCHDIR}/patch-pkg-plist >XDESCRPATCH= ${PATCHDIR}/patch-pkg-descr >X >Xdo-patch: >X @if ([ ${OSREL} = "10.0" ] && [ ! -f ${PATCHDIR}/havepatched ] ); then \ >X ${TOUCH} ${PATCHDIR}/havepatched; \ >X ${PATCH} ${PKGINSTALL} ${INSTALLPATCH}; \ >X ${PATCH} ${PKGDEINSTALL} ${DEINSTALLPATCH}; \ >X ${PATCH} ${PLIST} ${LISTPATCH}; \ >X ${PATCH} ${DESCR} ${DESCRPATCH}; \ >X ${RM} *.orig; \ >X fi >X >Xpost-extract: >X @${MKDIR} ${STAGEDIR}/boot >X @${MKDIR} ${STAGEDIR}/boot/kernel >X @${MKDIR} ${STAGEDIR}/etc/ && ${MKDIR} ${STAGEDIR}/etc/rc.d >X @${MKDIR} ${STAGEDIR}/usr/share && ${MKDIR} ${STAGEDIR}/usr/share/man >X @${MKDIR} ${STAGEDIR}/usr/share/man/man1 && ${MKDIR} ${STAGEDIR}/usr/share/man/man4 && ${MKDIR} ${STAGEDIR}/usr/share/man/man8 >X @${MKDIR} ${STAGEDIR}/usr/local/hyperv && ${MKDIR} ${STAGEDIR}/usr/local/hyperv/scripts >X @${MKDIR} ${STAGEDIR}/usr/sbin >X.if exists(/boot/loader.conf) >X @${CP} /boot/loader.conf ${STAGEDIR}/boot/loader.conf.bak >X.else >X @${TOUCH} ${STAGEDIR}/boot/loader.conf.bak >X.endif >X.if exists(/etc/rc.conf) >X @${CP} /etc/rc.conf ${STAGEDIR}/etc/rc.conf.bak >X.else >X @${TOUCH} ${STAGEDIR}/etc/rc.conf.bak >X.endif >X >X.include <bsd.port.post.mk> >4e23e705ff6899a9f5d3177d806a802e >echo c - hyperv-is/files >mkdir -p hyperv-is/files > /dev/null 2>&1 >echo x - hyperv-is/files/patch-pkg-install >sed 's/^X//' >hyperv-is/files/patch-pkg-install << 'a57fbf1f3acd1b1397f133ef215ceb21' >X10c10,11 >X< if [ ! -d ${POD_WRK_HOME} ]; then >X--- >X> if [ -d ${POD_WRK_HOME} ]; then >X> else >X19,20d19 >X< if [ "$2" = "PRE-INSTALL" ]; then >X< echo "===> Pre-install Check" >X22,55c21 >X< #rootfs check >X< root_flag=$(mount | awk '/ on \/ / { print $1 }' | cut -d / -f3-) >X< if [ "$root_flag" != "" ]; then >X< fs_test=$(glabel status | awk '{print $1}' | grep $root_flag) >X< if [ "$fs_test" == "" ]; then >X< echo " xxx rootfs Label/gptid missing in fstab" >X< fi >X< else >X< echo " xxx rootfs Label/gptid missing in fstab" >X< fi >X< #swap check >X< swap_flag=$(grep swap /etc/fstab | awk '{print $1}' | cut -d / -f3-) >X< if [ "$swap_flag" != "" ]; then >X< sw_test=$(glabel status | awk '{print $1}' | grep $swap_flag) >X< if [ "$sw_test" == "" ]; then >X< echo " xxx swap Label/gptid missing in fstab" >X< fi >X< else >X< echo " xxx swap Label/gptid missing in fstab " >X< fi >X< >X< if [ "$fs_test" != "" -a "$sw_test" != "" ]; then >X< echo "===> Labels/gptids Found" >X< echo "===> Hyper-V BIS Installation Continues" >X< else >X< echo "===> Labels/gptids Not found" >X< echo "===> Hyper-V BIS Installation Aborted" >X< echo "===> Refer to Disk UUID section in README document" >X< echo "===> Please refer the Prerequisites page and complete all steps" >X< echo "WWW: https://github.com/FreeBSDonHyper-V/Hyperv-Ports/wiki/Prerequisites " >X< exit -1 >X< fi >X< >X< else if [ "$2" = "POST-INSTALL" ]; then >X--- >X> if [ "$2" = "POST-INSTALL" ]; then >X58c24 >X< rm -f ${WRKDIRS}/boot/kernel/linker.hints >X--- >X> rm ${WRKDIRS}/boot/kernel/linker.hints >X63,77c29,36 >X< # Deleting Hyper-v BIS driver names >X< sed -i "" '/Loader labels for Hyper-v BIS driver/d' ${WRKDIRS}/boot/loader.conf.bak >X< sed -i "" '/hv_vmbus_load/d' ${WRKDIRS}/boot/loader.conf.bak >X< sed -i "" '/hv_utils_load/d' ${WRKDIRS}/boot/loader.conf.bak >X< sed -i "" '/hv_storvsc_load/d' ${WRKDIRS}/boot/loader.conf.bak >X< sed -i "" '/hv_netvsc_load/d' ${WRKDIRS}/boot/loader.conf.bak >X< sed -i "" '/hv_ata_pci_disengage_load/d' ${WRKDIRS}/boot/loader.conf.bak >X< >X< #Hyper-v driver names >X< echo "# Loader labels for Hyper-v BIS drivers -do not modify" >> ${WRKDIRS}/boot/loader.conf.bak >X< echo "hv_vmbus_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X< echo "hv_utils_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X< echo "hv_storvsc_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X< echo "hv_netvsc_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X< echo "hv_ata_pci_disengage_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X--- >X> # Deleting kvp label >X> sed -i "" '/Loader labels for Hyper-V KVP drivers/d' ${WRKDIRS}/etc/rc.conf.bak 2>/dev/null >X> sed -i "" '/hv_kvp_load/d' ${WRKDIRS}/etc/rc.conf.bak 2>/dev/null >X> >X> #hyperv driver names >X> echo "# Loader labels for Hyper-V KVP drivers -do not modify" >> ${WRKDIRS}/boot/loader.conf.bak >X> echo "hv_kvp_load=\"YES\"" >> ${WRKDIRS}/boot/loader.conf.bak >X> >X80c39 >X< sed -i "" '/Labels for KVP daemon/d' ${WRKDIRS}/etc/rc.conf.bak >X--- >X> sed -i "" '/Label for KVP daemon/d' ${WRKDIRS}/etc/rc.conf.bak >X82c41 >X< echo "# Labels for KVP daemon -do not modify" >> ${WRKDIRS}/etc/rc.conf.bak >X--- >X> echo "# Label for KVP daemon -do not modify" >> ${WRKDIRS}/etc/rc.conf.bak >X84d42 >X< cp ${WRKDIRS}/boot/loader.conf.bak /boot/loader.conf >X86c44 >X< fi >X--- >X> cp ${WRKDIRS}/boot/loader.conf.bak /boot/loader.conf >a57fbf1f3acd1b1397f133ef215ceb21 >echo x - hyperv-is/files/patch-pkg-plist >sed 's/^X//' >hyperv-is/files/patch-pkg-plist << '425fa0f890ca3ee8adbf4e0f24dac5b0' >X1,6c1,2 >X< @cwd /boot/kernel >X< hv_ata_pci_disengage.ko >X< hv_netvsc.ko >X< hv_storvsc.ko >X< hv_utils.ko >X< hv_vmbus.ko >X--- >X> @cwd /boot/kernel >X> hv_kvp.ko >X13c9 >X< @cwd /usr/sbin >X--- >X> @cwd /usr/sbin >X15,16d10 >X< @cwd /usr/share/man/man1 >X< hyperv-is.1.gz >X18d11 >X< hv_ata_pci_disengage.4.gz >X20,23d12 >X< hv_netvsc.4.gz >X< hv_storvsc.4.gz >X< hv_utils.4.gz >X< hv_vmbus.4.gz >X30,32c19,21 >X< @cwd / >X< @dirrmtry /usr/local/hyperv/scripts >X< @dirrmtry /usr/local/hyperv >X--- >X> @cwd /usr/local >X> @dirrmtry hyperv/scripts >X> @dirrmtry hyperv >425fa0f890ca3ee8adbf4e0f24dac5b0 >echo x - hyperv-is/files/patch-pkg-deinstall >sed 's/^X//' >hyperv-is/files/patch-pkg-deinstall << '4b8f6ee5166481896fabf2cd7806d9db' >X12,19c12,15 >X< echo "Removing Hyper-v BIS drivers labels " >X< # Deleting Hyper-v BIS driver names >X< sed -i "" '/Loader labels for Hyper-v BIS driver/d' /boot/loader.conf >X< sed -i "" '/hv_vmbus_load/d' /boot/loader.conf >X< sed -i "" '/hv_utils_load/d' /boot/loader.conf >X< sed -i "" '/hv_storvsc_load/d' /boot/loader.conf >X< sed -i "" '/hv_netvsc_load/d' /boot/loader.conf >X< sed -i "" '/hv_ata_pci_disengage_load/d' /boot/loader.conf >X--- >X> echo "Removing Hyper-v drivers labels " >X> # Deleting hyperv driver names >X> sed -i "" '/Loader labels for Hyper-V KVP driver/d' /boot/loader.conf 2>/dev/null >X> sed -i "" '/hv_kvp_load/d' /boot/loader.conf 2>/dev/null >X21c17 >X< echo "===> File $test not found" >X--- >X> echo "===> File $test not found" >X25,26c21,23 >X< sed -i "" '/Labels for KVP daemon/d' /etc/rc.conf >X< sed -i "" '/hv_kvp_daemon_enable/d' /etc/rc.conf >X--- >X> sed -i "" '/Label for KVP daemon/d' /etc/rc.conf 2>/dev/null >X> sed -i "" '/hv_kvp_daemon_enable/d' /etc/rc.conf 2>/dev/null >X> >X28,29c25,26 >X< if [ -f /etc/rc.conf ] && [ ! -s /etc/rc.conf ]; then >X< rm /etc/rc.conf >X--- >X> if [ -f /etc/rc.conf ] && [ ! -s /etc/rc.conf ]; then >X> rm /etc/rc.conf 2>/dev/null >X32,33c29,30 >X< if [ -f /boot/loader.conf ] && [ ! -s /boot/loader.conf ]; then >X< rm /boot/loader.conf >X--- >X> if [ -f /boot/loader.conf ] && [ ! -s /boot/loader.conf ]; then >X> rm /boot/loader.conf 2>/dev/null >X35d31 >X< >4b8f6ee5166481896fabf2cd7806d9db >echo x - hyperv-is/files/patch-pkg-descr >sed 's/^X//' >hyperv-is/files/patch-pkg-descr << '76f1cb772ec1934dfb0c07d663dcbe1e' >X2c2 >X< hyperv-is -- FreeBSD Integration Service on Hyper-v >X--- >X> hv-kvp -- Hyper-V KVP Integration Components >X5,7c5,6 >X< The hyperv-is provision a collection of kernel mode drivers as well as >X< user-space daemons to facilitate integration with Hyper-v to provide a >X< feature rich and high performance FreeBSD guest experience. >X--- >X> The hv-kvp provision a collection of kernel mode drivers and services >X> that enhance FreeBSD guest experience on Hyper-V. >X11,17c10,12 >X< The FreeBSD Integration Service on Hyper-v includes a collection of kernel >X< mode drivers as well as user-space daemons to interact with the drivers >X< that are required to run Hyper-V-specific devices known as FreeBSD >X< Integration Services (BIS). >X< It is to facilitate integration with Hyper-v to provide a feature rich >X< and high performance FreeBSD guest experience. >X< As of this writing, the hyperv-is ports package >X--- >X> The Hyper-V Integration Components include drivers and services that >X> improve functionality and performance of a FreeBSD guest operating system >X> running on Hyper-V. As of this writing, the hv-kvp ports package >X20,34c15,16 >X< a) hv_vmbus.ko - This is a loadable kernel module that provides a high >X< performance communication interface between the FreeBSD guest partition >X< and the Hyper-V root partition running Windows Server software. This mod- >X< ule is located under /boot/kernel/. >X< >X< b) hv_storvsc.ko - This is a loadable kernel module that provides FreeBSD >X< guests with optimized access to physical storage devices. This module is >X< located under /boot/kernel/. >X< >X< c) hv_netvsc.ko - This is a loadable kernel module that provides FreeBSD >X< guests with optimized access to the physical network card. This module >X< is located under /boot/kernel/. >X< >X< d) hv_utils.ko - This is a loadable kernel module that provides FreeBSD >X< guests with time synchronization, heartbeat, console shutdown and key-value pair >X--- >X> a) hv_utils.ko - This is a loadable kernel module that provides FreeBSD >X> guests with timekeeping, heartbeat, console shutdown and key-value pair >X37,41c19 >X< e) hv_ata_pci_disengage.ko - This is a loadable kernel module that dis- >X< ables the FreeBSD native ATA driver in order to avoid conflicts with the >X< hv_storvsc driver. This module is located under /boot/kernel/. >X< >X< f) hv_kvp_daemon - This is a user mode daemon that communicates with the >X--- >X> b) hv_kvp_daemon - This is a user mode daemon that communicates with the >X54c32 >X< Before you install hyperv-is ports, please ensure that you have added >X--- >X> Before you install hv-kvp ports, please ensure that you have added >X58,59c36 >X< hv_vmbus(4), hv_utils(4), hv_netvsc(4), hv_storvsc(4), >X< hv_ata_pci_disengage(4), hv_kvp_daemon(8) >X--- >X> hv_kvp(4), hv_kvp_daemon(8) >X62c39 >X< Support for hyperv-is ports was first released in September 2013. The >X--- >X> Support for hv-kvp ports was first released in September 2013. The >X67c44 >X< FreeBSD support for hyperv-is was first added by Microsoft BSD >X--- >X> FreeBSD support for hv-kvp was first added by Microsoft BSD >76f1cb772ec1934dfb0c07d663dcbe1e >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 182209
:
136866
|
146366
|
146367
|
146369
|
146370
|
146371
|
146372
|
147366
|
147367
|
147368
|
147463
|
147681