svn commit: r249493 - projects/bhyve_svm/sys/amd64/vmm/amd

Julian Elischer julian at freebsd.org
Mon Apr 15 04:54:51 UTC 2013


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
>
>



More information about the svn-src-projects mailing list