On 2/9/07, Guillaume Thouvenin <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I don't see where vmx_create_vcpu is called again. I think that it is
> called only once from 'r = kvm_arch_ops->vcpu_create(vcpu)'. Thus I don't
> think that vmcs area is allocated twice for each vcpu.
>
> Regards,
> Guillaume
On Thu, 8 Feb 2007 21:06:37 +0545
"Manish Regmi" <[EMAIL PROTECTED]> wrote:
> 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.
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 ar
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.
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.
pos