| #
d4a0e749
|
| 22-Jul-2025 |
Eugene Grosbein <eugen@FreeBSD.org> |
devd.conf(5): call hyperv_vfattach in a Hyper-V guest only
Limit calls to /usr/libexec/hyperv/hyperv_vfattach to Hyper-V guests.
PR: 287873 MFC after: 3 days
|
| #
d0b2dbfa
|
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
e09d161b
|
| 02-Apr-2022 |
Gordon Bergling <gbe@FreeBSD.org> |
devd(8): Fix a typo in a configuration file
- s/coresponding/corresponding/
MFC after: 3 days
|
| #
44e1285c
|
| 21-Aug-2018 |
Brad Davis <brd@FreeBSD.org> |
Move all devd related configs to sbin/devd/
This helps with pkgbase as it switches these to using CONFS so they are properly tagged as config files.
Approved by: will (mentor), imp Differential Rev
Move all devd related configs to sbin/devd/
This helps with pkgbase as it switches these to using CONFS so they are properly tagged as config files.
Approved by: will (mentor), imp Differential Revision: https://reviews.freebsd.org/D16781
show more ...
|
| #
dae3a64f
|
| 27-Dec-2017 |
Eitan Adler <eadler@FreeBSD.org> |
userland: Fix several typos and minor errors
- duplicate words - typos - references to old versions of FreeBSD
Reviewed by: imp, benno
|
| #
c6859569
|
| 31-Jul-2017 |
Sepherosa Ziehau <sephe@FreeBSD.org> |
hyperv: Add VF bringup scripts and devd rules.
How network VF works with hn(4) on Hyper-V in non-transparent mode:
- Each network VF has a cooresponding hn(4). - The network VF and the it's cooresp
hyperv: Add VF bringup scripts and devd rules.
How network VF works with hn(4) on Hyper-V in non-transparent mode:
- Each network VF has a cooresponding hn(4). - The network VF and the it's cooresponding hn(4) have the same hardware address. - Once the network VF is up, e.g. ifconfig VF up: o All of the transmission should go through the network VF. o Most of the reception goes through the network VF. o Small amount of reception may go through the cooresponding hn(4). This reception will happen, even if the the cooresponding hn(4) is down. The cooresponding hn(4) will change the reception interface to the network VF, so that network layer and application layer will be tricked into thinking that these packets were received by the network VF. o The cooresponding hn(4) pretends the physical link is down. - Once the network VF is down or detached: o All of the transmission should go through the cooresponding hn(4). o All of the reception goes through the cooresponding hn(4). o The cooresponding hn(4) fallbacks to the original physical link detection logic.
All these features are mainly used to help live migration, during which the network VF will be detached, while the network communication to the VM must not be cut off. In order to reach this level of live migration transparency, we use failover mode lagg(4) with the network VF and the cooresponding hn(4) attached to it.
To ease user configuration for both network VF and non-network VF, the lagg(4) will be created by the following rules, and the configuration of the cooresponding hn(4) will be applied to the lagg(4) automatically.
Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D11635
show more ...
|
| #
168fce73
|
| 15-Nov-2016 |
Sepherosa Ziehau <sephe@FreeBSD.org> |
hyperv/vss: Add driver and tools for VSS
VSS stands for "Volume Shadow Copy Service". Unlike virtual machine snapshot, it only takes snapshot for the virtual disks, so both filesystem and applicati
hyperv/vss: Add driver and tools for VSS
VSS stands for "Volume Shadow Copy Service". Unlike virtual machine snapshot, it only takes snapshot for the virtual disks, so both filesystem and applications have to aware of it, and cooperate the whole 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 disabled by editting /etc/devd/hyperv.conf.
Submitted by: Hongjiang Zhang <honzhan microsoft com> Reviewed by: kib, mckusick MFC after: 3 weeks Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D8224
show more ...
|
| #
02032ae5
|
| 19-Sep-2014 |
Hiroki Sato <hrs@FreeBSD.org> |
Fix cdev. It is a device node name, not a pathname.
|
| #
76cd7220
|
| 17-Sep-2014 |
Xin LI <delphij@FreeBSD.org> |
Use a devd event to start hv_kvpd instead of doing so in rc.d script. This is cleaner and eliminates the unneeded startup of KVP daemon on systems that do not run as a Hyper-V guest.
Submitted by: h
Use a devd event to start hv_kvpd instead of doing so in rc.d script. This is cleaner and eliminates the unneeded startup of KVP daemon on systems that do not run as a Hyper-V guest.
Submitted by: hrs X-MFC-with: 271493, 271688, 271699
show more ...
|