Date: Mon, 15 Apr 2013 04:16:13 +0000 (UTC) From: Neel Natu <neel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r249493 - projects/bhyve_svm/sys/amd64/vmm/amd Message-ID: <201304150416.r3F4GDOQ062967@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201304150416.r3F4GDOQ062967>