Manish Regmi wrote:
> When kvm initializes, it calls hardware_setup which calls
> alloc_kvm_area which allocates vmcs for each online processor and
> stores the pointer in percpu basis.
>   

VT requires a per-cpu page to store the host state in when VMLAUNCH is 
executed.  This is the host save area and it's passed to the VMXON 
instruction in hardware_enable().  It's the VMCS for the host.

Regards,

Anthony Liguori

> Later when vmx_create_vcpu is called, the vmcs area is allocated
> (again) and this time for the cpu the code is currently executing on.
> possibly it is already allocated.
>
> Is this a bug or i am missing something.
>
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to