aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv/utilities
Commit message (Collapse)AuthorAgeFilesLines
...
* hyperv: hv_guid -> struct hyperv_guid.Sepherosa Ziehau2016-07-144-4/+4
| | | | | | | | | | | This paves way for the further cleanup/disentangle. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7092 Notes: svn path=/head/; revision=302802
* hyperv/util: Avoid the hv_deviceSepherosa Ziehau2016-07-136-27/+23
| | | | | | | | | | | | This paves way to nuke the hv_device, which is actually an unncessary indirection. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7028 Notes: svn path=/head/; revision=302702
* hyperv/vmbus: Add vmbus method for GUID base device probing.Sepherosa Ziehau2016-07-134-20/+12
| | | | | | | | | | | Reduce the exposure of hv_device. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D7024 Notes: svn path=/head/; revision=302698
* hyperv/kvp: Use if_xname.Sepherosa Ziehau2016-05-311-3/+5
| | | | | | | | | MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6641 Notes: svn path=/head/; revision=301022
* hyperv: Move guid2str from vmbus file to hyperv fileSepherosa Ziehau2016-05-311-3/+4
| | | | | | | | | | | | | | - Use uint8_t for GUID byte array. - Define GUID string length. - Break long lines. - Nuke unnecessary stack variable. MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6640 Notes: svn path=/head/; revision=301021
* sys/dev: minor spelling fixes.Pedro F. Giffuni2016-05-031-2/+2
| | | | | | | Most affect comments, very few have user-visible effects. Notes: svn path=/head/; revision=298955
* hyperv: Update copyright to 2016 for the files Microsoft changed in 2016Sepherosa Ziehau2016-04-227-7/+7
| | | | | | | | Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D6039 Notes: svn path=/head/; revision=298446
* Cleanup unnecessary semicolons from the kernel.Pedro F. Giffuni2016-04-103-3/+3
| | | | | | | Found with devel/coccinelle. Notes: svn path=/head/; revision=297793
* hyperv/utils: Allow hint to disable individual utilitySepherosa Ziehau2016-03-244-0/+16
| | | | | | | | | | Reviewed by: kib, Dexuan Cui <decui microsoft com> MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5714 Notes: svn path=/head/; revision=297220
* hyperv: Factor out snprinf_hv_guid()Sepherosa Ziehau2016-03-211-28/+1
| | | | | | | | | | | Submitted by: Ju Sun <junsu microsoft com> Reviewed by: Dexuan Cui <decui microsoft com>, sephe MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5651 Notes: svn path=/head/; revision=297142
* hyperv/utils: Code rearrange and cleanupSepherosa Ziehau2016-02-247-667/+821
| | | | | | | | | | | | | | Split heartbeat, shutdown and timesync out of utils code and name them properly. Submitted by: Jun Su <junsu microsoft com> Reviewed by: adrian, sephe, Hongjiang Zhang <honzhan microsoft com> MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D5216 Notes: svn path=/head/; revision=295958
* hyperv: Use standard taskqueue instead of hv_work_queueSepherosa Ziehau2016-02-052-64/+29
| | | | | | | | | | | | | | | | | HyperV code was ported from Linux. There is an implementation of work queue called hv_work_queue. In FreeBSD, taskqueue could be used for the same purpose. Convert all the consumer of hv_work_queue to use taskqueue, and remove work queue implementation. Submitted by: Jun Su <junsu microsoft com> Reviewed by: adrian, Hongjiang Zhang <honzhan microsoft com> Approved by: adrian (mentor) MFC after: 1 week Sponsored by: Microsoft OSTC Differential Revision: https://reviews.freebsd.org/D4963 Notes: svn path=/head/; revision=295307
* hyperv/kvp: wake up the daemon if it's sleeping due to poll()Roger Pau Monné2015-12-151-1/+10
| | | | | | | | | | | | | | | | Without the patch, there is a race condition: when poll() is invoked(), if kvp_globals.daemon_busy is false, the daemon won't be timely woke up, because hv_kvp_send_msg_to_daemon() can't wake up the daemon in this case. Submitted by: Dexuan Cui <decui@microsoft.com> Sponsored by: Microsoft OSTC Reviewed by: delphij, royger MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D4258 Notes: svn path=/head/; revision=292258
* Microsoft vmbus, storage and other related driver enhancements for HyperV.Wei Hu2015-04-292-5/+15
| | | | | | | | | | | | | | | | | | | | | | | - Vmbus multi channel support. - Vector interrupt support. - Signal optimization. - Storvsc driver performance improvement. - Scatter and gather support for storvsc driver. - Minor bug fix for KVP driver. Thanks royger, jhb and delphij from FreeBSD community for the reviews and comments. Also thanks Hovy Xu from NetApp for the contributions to the storvsc driver. PR: 195238 Submitted by: whu Reviewed by: royger, jhb, delphij Approved by: royger MFC after: 2 weeks Relnotes: yes Sponsored by: Microsoft OSTC Notes: svn path=/head/; revision=282212
* Return BUS_PROBE_DEFAULT instead of BUS_PROBE_VENDOR or 0 for in-treeXin LI2014-10-241-1/+1
| | | | | | | driver. This change was verified by Microsoft. Notes: svn path=/head/; revision=273577
* Import HyperV Key-Value Pair (KVP) driver and daemon code by Microsoft,Xin LI2014-09-134-100/+1288
| | | | | | | | | | | | | | | | | many thanks for their continued support of FreeBSD. While I'm there, also implement a new build knob, WITHOUT_HYPERV to disable building and installing of the HyperV utilities when necessary. The HyperV utilities are only built for i386 and amd64 targets. This is a stable/10 candidate for inclusion with 10.1-RELEASE. Submitted by: Wei Hu <weh microsoft com> MFC after: 1 week Notes: svn path=/head/; revision=271493
* Revert the kvp code - there's still some work thatPeter Grehan2013-09-093-999/+6
| | | | | | | | | needs to be done for that. Discussed with: Microsoft hyper-v devs Notes: svn path=/projects/hyperv/; revision=255427
* Latest update from Microsoft.Peter Grehan2013-09-093-70/+1330
| | | | | | | Obtained from: Microsoft Hyper-v dev team Notes: svn path=/projects/hyperv/; revision=255414
* IFC @ r253862Peter Grehan2013-08-011-1/+1
| | | | | | | | | | - change the SI_SUB_RUN_SCHEDULER sysinits in hv_utilc and hv_netvsc_drv_freebsd.c to SI_SUB_KTHREAD_IDLE, since the former is no longer in FreeBSD. The use of these SYSINITs can probably be removed. Notes: svn path=/projects/hyperv/; revision=253869
* Microsoft have changed their policy on how the hyper-v code willPeter Grehan2013-07-171-0/+492
be pulled into FreeBSD. From now, FreeBSD will be considered the upstream repo. First step: move the drivers away from the contrib area and into the base system. A follow-on commit will include the drivers in the amd64 GENERIC kernel. Notes: svn path=/projects/hyperv/; revision=253411