sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - error
sys/dev: further adoption of SPDX licensing ID tags.Mainly focus on files that use BSD 2-Clause license, however the tool Iwas using misidentified many licenses so this was mostly a manual - errorprone - task.The Software Package Data Exchange (SPDX) group provides a specificationto make it easier for automated tools to detect and summarize well knownopensource licenses. We are gradually adopting the specification, notingthat the tags are considered only advisory and do not, in any way,superceed or replace the license texts.
show more ...
hyperv: Update copyright for the files changed in 2017MFC after: 3 daysSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D11982
hyperv/kvp: Use proper size macro for adapter id.Submitted by: Christopher Ertl <Christopher.Ertl microsoft com>MFC after: 3 daysSponsored by: Microsoft
hyperv/kvp: Remove always false condition.Reported by: PVSMFC after: 3 daysSponsored by: Microsoft
hyperv: Add method to read 64bit Hyper-V specific time value.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D9057
hyperv/ic: Allow applying the samples from hypervisor unconditionally.MFC after: 1 weekSponsored by: Microsoft
hyperv/ic: Fix version4 timesync message format.It is not compat w/ the old timesync message format, which the messagetype stays the same as the old timesync message.MFC after: 1 weekSponsored
hyperv/ic: Fix version4 timesync message format.It is not compat w/ the old timesync message format, which the messagetype stays the same as the old timesync message.MFC after: 1 weekSponsored by: Microsoft
hyperv/ic: Rename cleaned up files.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8850
hyperv/ic: Cleanup driver glue.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8849
hyperv/ic: Rname cleaned up file.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8848
hyperv/ic: Inclusion cleanupMFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8847
hyperv/ic: Rename cleaned up header file.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8846
hyperv/ic: Cleanup common struct and functions.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8845
hyperv/ic: Factor out function to send IC responseMFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8844
hyperv/timesync: Support "sent TC" to improve accuracy.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8723
hyperv/vss: Add driver and tools for VSSVSS stands for "Volume Shadow Copy Service". Unlike virtual machinesnapshot, it only takes snapshot for the virtual disks, so bothfilesystem and applicati
hyperv/vss: Add driver and tools for VSSVSS stands for "Volume Shadow Copy Service". Unlike virtual machinesnapshot, it only takes snapshot for the virtual disks, so bothfilesystem and applications have to aware of it, and cooperate thewhole VSS process.This driver exposes two device files to the userland: /dev/hv_fsvss_dev Normally userland programs should _not_ mess with this device file. It is currently used by the hv_vss_daemon(8), which freezes and thaws the filesystem. NOTE: currently only UFS is supported, if the system mounts _any_ other filesystems, the hv_vss_daemon(8) will veto the VSS process. If hv_vss_daemon(8) was disabled, then this device file must be opened, and proper ioctls must be issued to keep the VSS working. /dev/hv_appvss_dev Userland application can opened this device file to receive the VSS freeze notification, hold the VSS for a while (mainly to flush application data to filesystem), release the VSS process, and receive the VSS thaw notification i.e. applications can run again. The VSS will still work, even if this device file is not opened. However, only filesystem consistency is promised, if this device file is not opened or is not operated properly.hv_vss_daemon(8) is started by devd(8) by default. It can be disabledby editting /etc/devd/hyperv.conf.Submitted by: Hongjiang Zhang <honzhan microsoft com>Reviewed by: kib, mckusickMFC after: 3 weeksSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8224
hyperv/kvp: Don't mix message status codes and function return values.While I'm here, move message status codes to hv_utilreg.h, since theywill be used by the upcoming VSS stuffs.Submitted by: H
hyperv/kvp: Don't mix message status codes and function return values.While I'm here, move message status codes to hv_utilreg.h, since theywill be used by the upcoming VSS stuffs.Submitted by: Hongjiang Zhang <honzhan microsoft com>MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8391
hyperv/ic: Rework framework/message version negotiation.Submitted by: Hongjiang Zhang <honzhan microsoft com>Modified by: sepheMFC after: 1 weekSponsored by: MicrosoftDifferential Revision: htt
hyperv/ic: Rework framework/message version negotiation.Submitted by: Hongjiang Zhang <honzhan microsoft com>Modified by: sepheMFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D8280
hyperv/kvp: Fix IPv4/IPv6 address injection support.The GUID string provided by hypervisor has leading and trailing braces,while our GUID string does not have braces at all. Both braces shouldbe
hyperv/kvp: Fix IPv4/IPv6 address injection support.The GUID string provided by hypervisor has leading and trailing braces,while our GUID string does not have braces at all. Both braces shouldbe ignored, when the GUID strings are compared.Submitted by: Hongjiang Zhang <honzhan microsoft com>Modified by: sepheMFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D7809
hyperv/ic: Cleanup timesync channel callback.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D7745
hyperv/ic: Cleanup shutdown channel callback.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D7744
hyperv/ic: Minor style fix.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D7743
hyperv/timesync: Rework time adjustment policy- By default, adjust time upon SYNC request. It can be disabled through hw.hvtimesync.ignore_sync_req. SYNC request will be sent by hypervisor th
hyperv/timesync: Rework time adjustment policy- By default, adjust time upon SYNC request. It can be disabled through hw.hvtimesync.ignore_sync_req. SYNC request will be sent by hypervisor the host is resumed, rebooted, etc.- By default, adjust time upon SAMPLE request, if there is 100ms difference between VM time and hypervisor time. This can be disabled through hw.hvtimesync.sample_drift.And nuke the unnecessary task, since channel callback is runningin a Hyper-V taskqueue nowadays.Submitted by: YanZhe Chen <t-yachen microsoft com>Discussed with: Dexuan Cui <decui microsoft com>, Hongjiang Zhang <honzhan microsoft com>, sepheMFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D7707
hyperv/ic: Update total message size if negotiate message size grows.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D7627
hyperv/ic: Cleanup heartbeat channel callback.MFC after: 1 weekSponsored by: MicrosoftDifferential Revision: https://reviews.freebsd.org/D7626
123