freebsd-src/lib/libkvm
Bjoern A. Zeeb 10108cb673 Partially revert VNET change and expand VNET structure.
Revert parts of r353274 replacing vnet_state with a shutdown flag.

Not having the state flag for the current SI_SUB_* makes it harder to debug
kernel or module panics related to VNET bringup or teardown.
Not having the state also does not allow us to check for other dependency
levels between components, e.g. for moving interfaces.

Expand the VNET structure with the new boolean flag indicating that we are
doing a shutdown of a given vnet and update the vnet magic cookie for the
change.

Update libkvm to compile with a bool in the kernel struct.

Bump __FreeBSD_version for (external) module builds to more easily detect
the change.

Reviewed by:	hselasky
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D23097
2020-02-17 11:08:50 +00:00
..
tests Update the spelling of my name (continuation of r346571) 2019-04-22 18:05:33 +00:00
kvm.3 Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm.c Partially revert VNET change and expand VNET structure. 2020-02-17 11:08:50 +00:00
kvm.h Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_aarch64.h Chase r350037. 2019-07-16 16:02:20 +00:00
kvm_amd64.c Use __SCCSID for SCCS IDs in libkvm sources. 2018-05-22 15:52:22 +00:00
kvm_amd64.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_arm.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_arm.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_cptime.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_getcptime.3
kvm_geterr.3 kvm_geterr: handle kd == NULL in a deterministic/graceful manner 2017-03-21 19:02:17 +00:00
kvm_getloadavg.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kvm_getloadavg.c Use __SCCSID for SCCS IDs in libkvm sources. 2018-05-22 15:52:22 +00:00
kvm_getpcpu.3 Tweak r315363 slightly 2017-03-16 03:24:15 +00:00
kvm_getprocs.3 Remove a commented out line before kvm_getprocs(3) 2017-03-19 23:04:58 +00:00
kvm_getswapinfo.3 libkvm - extend a bit the swap statistics field. 2017-01-02 15:12:11 +00:00
kvm_getswapinfo.c Reduce <sys/queue.h> pollution. 2018-05-11 00:01:43 +00:00
kvm_i386.c Use __SCCSID for SCCS IDs in libkvm sources. 2018-05-22 15:52:22 +00:00
kvm_i386.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_kerndisp.3 Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_minidump_aarch64.c libkvm: fix build failures 2017-11-12 01:36:48 +00:00
kvm_minidump_amd64.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
kvm_minidump_arm.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
kvm_minidump_i386.c lib: further adoption of SPDX licensing ID tags. 2017-11-26 02:00:33 +00:00
kvm_minidump_mips.c Make cache coherency attributes definitions available in machine/vm.h on MIPS. 2018-08-01 18:35:17 +00:00
kvm_minidump_powerpc64.c Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_minidump_powerpc64_hpt.c [PPC64] Initial libkvm minidump implementation 2019-12-09 13:59:36 +00:00
kvm_minidump_riscv.c Add riscv minidump support to libkvm. 2019-03-05 23:59:55 +00:00
kvm_mips.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_native.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_nlist.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kvm_open.3 Handle kd == NULL gracefully with kvm_close(3) 2017-03-20 18:28:22 +00:00
kvm_pcpu.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_powerpc.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_powerpc64.c General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
kvm_powerpc64.h [PPC64] Initial libkvm minidump implementation 2019-12-09 13:59:36 +00:00
kvm_private.c Partially revert VNET change and expand VNET structure. 2020-02-17 11:08:50 +00:00
kvm_private.h Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
kvm_proc.c Add support for ps -H on corefiles in libkvm 2019-09-22 13:56:27 +00:00
kvm_read.3 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kvm_riscv.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
kvm_vnet.c Partially revert VNET change and expand VNET structure. 2020-02-17 11:08:50 +00:00
Makefile Implement kvm_kerndisp 2020-02-06 13:21:59 +00:00
Makefile.depend Update Makefile.depend files 2019-12-11 17:37:53 +00:00