Skip to contentSkip to conversation

about the smp safe of Qemu

Qemu-devel wang Tiger 1 participant 1 message Dec 8, 2008

lore
Share & tools
lore

wang Tiger

author
#0 lore raw

we can see that qemu emulates two or more virtual cpus just on one physical cpu as form of "for" loop.
Cat it be changed to be smp safe?
I mean can we use more than one physical cpu to emulate the virtual cpus? Like that one virtual cpu is a pthread, and the threads are bonded on the different cpus?
So that we can translate the code concurrently.
Is it possible?
And what's the main challenge of this work , if i want to do~