Also simplify eventtimer to only support one-shot.
Details
Details
Run the following command to switch hyperv eventtimer:
sysctl kern.eventtimer.timer=HyperV
also run devinfo -v to make sure hv_et is there and under
vmbus
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 3097 Build 3129: arc lint + arc unit
Event Timeline
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c | ||
---|---|---|
292 | Must we check this? It looks almost all the callers of device_get_ivars(child) don't have the check. | |
573 | what's the meaning of "delay attach until inerrupt is on" -- I don't see how bus_generic_attach() can delay things? At this place, the vmbus doesn't have any child device yet? |
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c | ||
---|---|---|
573 | He tries to attach the hv_et here. Rest of the devices go through channel offers later. |
sys/dev/hyperv/vmbus/hv_vmbus_drv_freebsd.c | ||
---|---|---|
573 | Got it. Thanks! |