From owner-cvs-src-old@FreeBSD.ORG Thu Jul 23 21:12:32 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5984D1065675 for ; Thu, 23 Jul 2009 21:12:31 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id B45F08FC19 for ; Thu, 23 Jul 2009 21:12:31 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n6NLCVjO089504 for ; Thu, 23 Jul 2009 21:12:31 GMT (envelope-from bz@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n6NLCVCm089503 for cvs-src-old@freebsd.org; Thu, 23 Jul 2009 21:12:31 GMT (envelope-from bz@repoman.freebsd.org) Message-Id: <200907232112.n6NLCVCm089503@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bz@repoman.freebsd.org using -f From: "Bjoern A. Zeeb" Date: Thu, 23 Jul 2009 21:12:21 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/lib/libkvm Makefile kvm.c kvm_private.h kvm_vnet.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2009 21:12:32 -0000 bz 2009-07-23 21:12:21 UTC FreeBSD src repository Modified files: lib/libkvm Makefile kvm.c kvm_private.h Added files: lib/libkvm kvm_vnet.c Log: SVN rev 195838 on 2009-07-23 21:12:21Z by bz 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) Revision Changes Path 1.21 +1 -1 src/lib/libkvm/Makefile 1.34 +164 -8 src/lib/libkvm/kvm.c 1.14 +10 -0 src/lib/libkvm/kvm_private.h 1.1 +237 -0 src/lib/libkvm/kvm_vnet.c (new)