Hi Zhangun,
On 26.03.2015 10:47, Zhangjun (V) wrote:
> As we know, Jailhouse haven’t a scheduler in hypervisor, so it cann’t
> schedule the cpu resources.
>
> It only can assign one cpu to a cell. And how can we put more than two
> VCPU in a cell?
For Jailhouse, VCPU = CPU core, as there is no resource overcommitment.
You can assign more than one core to a cell, including non-root one, but
then all scheduling should be done on inmate side. Linux (which is also
technically an inmate in Jailhouse) happily uses more than one core.
Demo inmates don't, but you can still assign more than one CPU, say, to
apic-demo cell and see what happens (never tried it myself).
Valentine