Re: [kvm-devel] Problem with SMP boot

2007-01-27 Thread Avi Kivity
Tim Chen wrote: > On Fri, 2007-01-26 at 19:58 +0200, Avi Kivity wrote: > >> >> >> kvm only supports uniprocessor guests at this time. >> >> > > Thanks for the clarification. Is SMP support for guests > expected soon? > For the next few weeks I plan to focus on stability, correctness

Re: [kvm-devel] Problem with SMP boot

2007-01-27 Thread Avi Kivity
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 vir

Re: [kvm-devel] Problem with SMP boot

2007-01-26 Thread Matthew Hall
Avi Kivity wrote: > kvm only supports uniprocessor guests at this time. Out of interest, if/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

Re: [kvm-devel] Problem with SMP boot

2007-01-26 Thread Tim Chen
On Fri, 2007-01-26 at 19:58 +0200, Avi Kivity wrote: > > > kvm only supports uniprocessor guests at this time. > Thanks for the clarification. Is SMP support for guests expected soon? The FAQ is a bit misleading: http://kvm.qumranet.com/kvmwiki/FAQ It says "Does kvm support SMP hosts? Ye

Re: [kvm-devel] Problem with SMP boot

2007-01-26 Thread Avi Kivity
Tim Chen wrote: > Hi, > > I am only able to bring up a single cpu on my guest even when I > specify a 4 cpu smp config. My test machine > is a two socket dual core woodcrest with 4GB RAM. I am > using a stock RHEL5 kernel on my guest and 2.6.20-rc5 > on my host. > > The command I used is: > qem

Re: [kvm-devel] Problem with SMP boot

2007-01-26 Thread Tim Chen
On Fri, 2007-01-26 at 06:06 +, Matthew Hall wrote: > > Boot the /host/ kernel with 'noapic nolapic' and see if that makes a > difference for you. There is a performance impact under load, but it > made a world of difference for me when I had issues which were similarly > kvm specific. Unf

Re: [kvm-devel] Problem with SMP boot

2007-01-25 Thread Matthew Hall
Tim Chen wrote: > Now when I switch to qemu-system-x86_64 without kvm, the guest boots > with all 4 cpus being specified. > >>From the boot log, it looks like it is APIC related. > Is this a known problem? Boot the /host/ kernel with 'noapic nolapic' and see if that makes a difference for you.

[kvm-devel] Problem with SMP boot

2007-01-25 Thread Tim Chen
Hi, I am only able to bring up a single cpu on my guest even when I specify a 4 cpu smp config. My test machine is a two socket dual core woodcrest with 4GB RAM. I am using a stock RHEL5 kernel on my guest and 2.6.20-rc5 on my host. The command I used is: qemu-kvm -hda vdisk2.img -smp 4 -boot