summaryrefslogtreecommitdiffstats
path: root/sys/dev/hyperv
Commit message (Collapse)AuthorAgeFilesLines
* MFC: r264177marius2014-05-284-21/+26
| | | | | Make some unwise casts. On i386 these casts wind up being safe. Rather than disturb the API, go with these casts to shut gcc up.
* MFC r257334, r257336, r257337, r257338, r257341, r257342, r257343, r257370,ian2014-05-141-1/+1
| | | | | | | r257368, r257416 Hints-only devices should return BUS_PROBE_NOWILDCARD from their probe methods.
* MFC r259180 (pjd) + r263123:delphij2014-03-281-6/+11
| | | | Hide a few messages under bootverbose.
* MFC r262789, r262847:mav2014-03-121-86/+1
| | | | | | | | | Remove custom bus scanner code and fix use of CAM's default scanner. This fixes kernel panic during boot, caused by incompatibility of recent CAM locking changes and this bus scanner code. Submitted by: Microsoft
* MFC r257369:delphij2013-11-011-1/+3
| | | | | | | | | Don't reference pointer before testing whether it is NULL. Submitted by: Clement Lecigne <clecigne google com> Reviewed by: grehan Approved by: re (kib)
* MFC r256425:gibbs2013-10-183-44/+15
| | | | | | | | | | | | | | | | | | | | Centralize the detection logic for the Hyper-V hypervisor. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs, grehan Approved by: re (gjb) sys/sys/systm.h: * Add a new VM_GUEST type, VM_GUEST_HV (HyperV guest). sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c: sys/dev/hyperv/vmbus/hv_hv.c: sys/dev/hyperv/stordisengage/hv_ata_pci_disengage.c: * Set vm_guest to VM_GUEST_HV and use that on other HyperV related devices instead of cloning the cpuid hypervisor check. * Cleanup the vmbus_identify function. ------------------------------------------------------------------------
* MFC r256362grehan2013-10-122-19/+86
| | | | | | | | | | Fix a lock-order reversal in the net driver by dropping the lock and holding a reference prior to calling further into the hyperv stack. Added missing FreeBSD idents. Approved by: re@ (gjb)
* MFC r256350grehan2013-10-112-8/+11
| | | | | | | Fix vmbus channel memory leak where incorrect length parameter was being passed to contigfree(). Approved by: re@ (glebius)
* MFC r256304grehan2013-10-111-22/+8
| | | | | | | Allow the legacy CDROM device to be accessed in a FreeBSD guest, while still using enlightened drivers for other block devices. Approved by: re@ (gjb)
* In sys/dev/hyperv, fix a number of gcc warnings about usage of anonymousdim2013-10-106-49/+60
| | | | | | | | union members in strict C99, by giving them names. While here, add some FreeBSD keywords where they were missing. Approved by: re (gjb) Reviewed by: grehan
* Correct panic caused by attaching both Xen PV and HyperV virtualizationgibbs2013-10-051-0/+10
| | | | | | | | | | | | | | | | | | | | aware drivers on Xen hypervisors that advertise support for some HyperV features. x86/xen/hvm.c: When running in HVM mode on a Xen hypervisor, set vm_guest to VM_GUEST_XEN so other virtualization aware components in the FreeBSD kernel can detect this mode is active. dev/hyperv/vmbus/hv_hv.c: Use vm_guest to ignore Xen's HyperV emulation when Xen is detected and Xen PV drivers are active. Reported by: Shanker Balan Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibbs Approved by: re (Xen blanket)
* Reorder the hypervisor presence test to avoid claiming ATA disksgrehan2013-09-191-28/+38
| | | | | | | on non hyperv systems. Reviewed by: neel, abgupta at microsoft dot com Approved by: re@ (hrs)
* Revert the kvp code - there's still some work thatgrehan2013-09-093-999/+6
| | | | | | needs to be done for that. Discussed with: Microsoft hyper-v devs
* Latest update from Microsoft.grehan2013-09-097-215/+1391
| | | | Obtained from: Microsoft Hyper-v dev team
* IFC @ r253862grehan2013-08-012-2/+2
| | | | | | | - 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.
* Microsoft have changed their policy on how the hyper-v code willgrehan2013-07-1719-0/+12526
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.
OpenPOWER on IntegriCloud