quic / qbox

Qbox
Other
42 stars 10 forks source link

multicore support present? #4

Open Abhiram-R opened 4 months ago

Abhiram-R commented 4 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 4 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 4 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 4 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 4 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.