aboutsummaryrefslogtreecommitdiff
path: root/lib/libkvm/Makefile
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2009-07-23 21:12:21 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2009-07-23 21:12:21 +0000
commit7cf8b4b9335f3632051e32a9819e87c663ee70d2 (patch)
treeb8a5e23e08212e3f59199c99ea9ba792ed035e7b /lib/libkvm/Makefile
parentd0728d71742e6b2304a3b370f4f4bec9e7d1dc5e (diff)
downloadsrc-7cf8b4b9335f3632051e32a9819e87c663ee70d2.tar.gz
src-7cf8b4b9335f3632051e32a9819e87c663ee70d2.zip
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)
Notes
Notes: svn path=/head/; revision=195838
Diffstat (limited to 'lib/libkvm/Makefile')
-rw-r--r--lib/libkvm/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libkvm/Makefile b/lib/libkvm/Makefile
index 52a22caf8f47..47dc613ab7ed 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