Thanks Avi and Stuart! On Wed, Apr 18, 2012 at 8:24 PM, Stuart Yoder <b08248@xxxxxxxxx> wrote: > On Tue, Apr 17, 2012 at 4:54 PM, Alexander Lyakas > <alex.bolshoy@xxxxxxxxx> wrote: >> Greetings everybody, >> >> Can anybody please point me to code/documentation regarding the >> following questions I have: >> >> - What does it actually mean using "-smp N" option, in terms of CPU >> sharing between the host and the guest? >> - How are guest CPUs mapped to host CPUs (if at all)? > > Each guest CPU (vcpu) corresponds to a QEMU thread. > You can see the thread ids in QEMU with "info cpus" in the > QEMU monitor. > > Since a vcpu is a thread you can apply standard Linux > mechanisms to managing those threads-- CPU affinity, etc. > > Stuart -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html