Re: 回复:Re: The design of vCPU.

Gedare Bloom gedare at rtems.org
Thu Jun 12 14:47:33 UTC 2014


On Thu, Jun 12, 2014 at 10:34 AM, shenyouren <shenyouren at gmail.com> wrote:
> Philipp Eppelt <philipp.eppelt at mailbox.tu-dresden.de>于 2014年6月12日 下午9:50写道:
>
>
>>
>> Hi,
>>
>> can you please evaluate, which pieces already implemented in
>> pok/kernel/* can be reused to build the vCPU structure?
> I don't think there are lot of code which can be reused. The vCPU is a new
> concept in POK. I can only figure out that the context store/resume function
> can be reused.
>
It seems to me that most of the code related to partitions within pok
should be reused for the vCPU concept, since there is little
difference right now between a vCPU and a partition.

-Gedare

>> Also, how the vCPU structure can be build on top of / merged into the
>> partition structure.
> I think we can put a point on vCPU structure, a point point to partition
> bond with the vCPU.
> This vCPU structure, as you said do not need SMP for now, and a partition is
> a vCPU(I understand this as we do not need scheduler for vCPU now), is just
> a structure for interrupt store, also maybe for the context store.
>
> If my understanding is correct, the implementation of vCPU is a realistic
> target for midterm.
>
> --
> Best Regards.
> Youren Shen.
>
>
>
> 发自我的小米手机



More information about the devel mailing list