Re: [kvm-devel] multiple allocation for vmcs or am i missing something.

2007-02-09 Thread Guillaume Thouvenin
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.

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

-
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=lnkkid=120709bid=263057dat=121642
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel


[kvm-devel] multiple allocation for vmcs or am i missing something.

2007-02-08 Thread Manish Regmi
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.
possibly it is already allocated.

Is this a bug or i am missing something.


-- 
---
regards
Manish Regmi

-
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=lnkkid=120709bid=263057dat=121642
___
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel