diff options
author | bz <bz@FreeBSD.org> | 2009-07-23 21:12:21 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-07-23 21:12:21 +0000 |
commit | d607f4c3e36cdfbb5b44004389ae0faeaf456f5b (patch) | |
tree | b8a5e23e08212e3f59199c99ea9ba792ed035e7b /lib/libkvm/Makefile | |
parent | b3be1c6e3bd7d3b5cf946ddb04c1c5811644229b (diff) | |
download | FreeBSD-src-d607f4c3e36cdfbb5b44004389ae0faeaf456f5b.zip FreeBSD-src-d607f4c3e36cdfbb5b44004389ae0faeaf456f5b.tar.gz |
Make libkvm work on live systems and crashdumps with and
without VIMAGE virtualization in the kernel.
If we cannot resolve a symbol try to see if we can find it with
prefix of the virtualized subsystem, currently only "vnet_entry"
by identifying either the vnet of the current process for a
live system or the vnet of proc0 (or of dumptid if compiled
in a non-default way).
The way this is done currently allows us to only touch libkvm
but no single application. Once we are going to virtualize more
subsystems we will have to review this decision for better scaling.
Submitted by: rwatson (initial version of kvm_vnet.c, lots of ideas)
Reviewed by: rwatson
Approved by: re (kib)
Diffstat (limited to 'lib/libkvm/Makefile')
-rw-r--r-- | lib/libkvm/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile index 52a22ca..47dc613 100644 --- a/lib/libkvm/Makefile +++ b/lib/libkvm/Makefile @@ -10,7 +10,7 @@ CFLAGS+=-DSUN4V .endif SRCS= kvm.c kvm_${MACHINE_ARCH}.c kvm_cptime.c kvm_file.c kvm_getloadavg.c \ - kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c + kvm_getswapinfo.c kvm_pcpu.c kvm_proc.c kvm_vnet.c .if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "arm" SRCS+= kvm_minidump_${MACHINE_ARCH}.c .endif |