From owner-svn-src-projects@FreeBSD.ORG Mon Apr 15 04:54:51 2013 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id C68A5140; Mon, 15 Apr 2013 04:54:51 +0000 (UTC) (envelope-from julian@freebsd.org) Received: from vps1.elischer.org (vps1.elischer.org [204.109.63.16]) by mx1.freebsd.org (Postfix) with ESMTP id 9CA8317F; Mon, 15 Apr 2013 04:54:51 +0000 (UTC) Received: from jre-mbp.elischer.org (ppp121-45-237-17.lns20.per1.internode.on.net [121.45.237.17]) (authenticated bits=0) by vps1.elischer.org (8.14.5/8.14.5) with ESMTP id r3F4slMj013434 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Sun, 14 Apr 2013 21:54:49 -0700 (PDT) (envelope-from julian@freebsd.org) Message-ID: <516B881A.5000000@freebsd.org> Date: Mon, 15 Apr 2013 12:54:50 +0800 From: Julian Elischer User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 MIME-Version: 1.0 To: Neel Natu Subject: Re: svn commit: r249493 - projects/bhyve_svm/sys/amd64/vmm/amd References: <201304150416.r3F4GDOQ062967@svn.freebsd.org> In-Reply-To: <201304150416.r3F4GDOQ062967@svn.freebsd.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Apr 2013 04:54:51 -0000 On 4/15/13 12:16 PM, Neel Natu wrote: > Author: neel > Date: Mon Apr 15 04:16:12 2013 > New Revision: 249493 > URL: http://svnweb.freebsd.org/changeset/base/249493 > > Log: > Add a Cliff Notes version of the purpose and contents of the VMCB. > > Requested by: julian thanks! others take note! > > Modified: > projects/bhyve_svm/sys/amd64/vmm/amd/vmcb.c > > Modified: projects/bhyve_svm/sys/amd64/vmm/amd/vmcb.c > ============================================================================== > --- projects/bhyve_svm/sys/amd64/vmm/amd/vmcb.c Mon Apr 15 03:09:59 2013 (r249492) > +++ projects/bhyve_svm/sys/amd64/vmm/amd/vmcb.c Mon Apr 15 04:16:12 2013 (r249493) > @@ -40,6 +40,16 @@ __FBSDID("$FreeBSD$"); > #include "vmcb.h" > > /* > + * The VMCB aka Virtual Machine Control Block is a 4KB aligned page > + * in memory that describes the virtual machine. > + * > + * The VMCB contains: > + * - instructions or events in the guest to intercept > + * - control bits that modify execution environment of the guest > + * - guest processor state (e.g. general purpose registers) > + */ > + > +/* > * Initialize SVM h/w context i.e. the VMCB control and saved state areas. > */ > int > >