Rusty Russell wrote:
> On Thu, 2007-07-26 at 00:31 -0400, Gregory Haskins wrote:
>   
>> This is a cleanup patch to "de-VMX" the general code.  It was developed in 
>> the
>> preempt-hooks branch, but it should apply elsewhere as well.
>>     
>
> Hi Gregory,
>
>       Great minds think alike.  This is a little rough, but I decided to send
> it out tonight because it would make your life easier...
>   

What about my life?  Which patch should I apply first?

> ===
> Dynamically allocate vcpus
>
> This patch converts the vcpus array in "struct kvm" to a linked list
> of VCPUs, and changes the "vcpu_create" and "vcpu_setup" hooks into
> one "vcpu_create" call which does the allocation and initialization of
> the vcpu (calling back into the kvm_vcpu_init core helper).
>   

Linked list?  So that the in-kernel apic code has to traverse a list, 
making sure the cpu still knows how to transfer dirty cache lines for 
every vcpu?

A good old fashioned pointer array will suit just fine.

> +     spin_lock(&kvm->lock);
> +     /* What do we care if they create duplicate CPU ids?  But be nice. */
>   

Oh, we care.  Esp. the apic code.


-- 
error compiling committee.c: too many arguments to function


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to