Matthew Hall wrote: > Avi Kivity wrote: > >> kvm only supports uniprocessor guests at this time. >> > > Out of interest, if/when
when. > kvm supports smp guests aswell as hosts would > the guest be presented with a multiple virtual or physical cpu's? > Ie. If the guest has multiple virtual cpu's the process would only run > as a single task which would then affine to a single cpu on a multiple > cpu host. > > So could kvm let an smp guest share the physical cpu's the host has? > kvm maps a guest vcpu to a host thread. In turn, the host scheduler maps host threads to host cpus, so the mapping of vcpus to cpus depends on resource availability: if you have enough cpus, the scheduler will assign each vcpu to a separate cpu. The user will also be able to affect the mapping by binding vcpu threads to specific processors. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ kvm-devel mailing list kvm-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/kvm-devel