quic / qbox

Qbox
Other
31 stars 7 forks source link

multicore support present? #4

Open Abhiram-R opened 2 months ago

Abhiram-R commented 2 months ago

Hi, Does qbox in its current stage support multi-core emulation. For example: like cortex a53 + cortex a76 combined to run the sample ubuntu image on top of platform-vp.

markfoodyburton commented 2 months ago

Short answer - yes. (In the case of a53 + a76 you can even share the same Qemu instance, but you can equally have multiple Qemu instances - that would allow you to have different router's for the different address spaces)

Abhiram-R commented 2 months ago

Thank you for the quick response. I have made some changes in the conf.lua file but it seems to be using only single core (a53 in my case). attaching the lua file for reference. conf.txt

markfoodyburton commented 2 months ago

you seem to have flipped cpu_0 and _1, and you probably need to take some care with the GIC, not sure that part of the file won't actually just overwrite itself. You can also try having a new QEMU instance, but I think it should work the way you have it.

Abhiram-R commented 2 months ago

Correct me if I'm wrong but. I tried booting up with the conf.lua mentioned previously. The lscpu command is showing only one CPU (Cortex A76) as seen:

image

I am not sure what could be the reason as to why Cortex A53 is not listed.