On Tue, Nov 08, 2011 at 08:04:44PM +0800, 陳韋任 wrote: > > I am wondering that when one uses qemu with kvm. How many cores are > > exposed and available to the guest os ( assuming the host has 4 cores > > ). is this configurable ? > > QEMU provides "-smp" option, but those virtual cpus are scheduled in > round-robin fashion. In other words, it's not real parallelism. I don't > know if there is any difference with kvm enabled.
IIRC, kvm uses QEMU for device emulation only. Those virtual cpus are ran on physical cpus simultaneously. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667