| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
r257368, r257416
Hints-only devices should return BUS_PROBE_NOWILDCARD from their probe
methods.
|
|
|
|
| |
Hide a few messages under bootverbose.
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
Don't reference pointer before testing whether it is
NULL.
Submitted by: Clement Lecigne <clecigne google com>
Reviewed by: grehan
Approved by: re (kib)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
Fix vmbus channel memory leak where incorrect length parameter was
being passed to contigfree().
Approved by: re@ (glebius)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
| |
on non hyperv systems.
Reviewed by: neel, abgupta at microsoft dot com
Approved by: re@ (hrs)
|
|
|
|
|
|
| |
needs to be done for that.
Discussed with: Microsoft hyper-v devs
|
|
|
|
| |
Obtained from: Microsoft Hyper-v dev team
|
|
|
|
|
|
|
| |
- 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.
|
|
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.
|