public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* smp bug in kvm-69
@ 2008-05-28 11:20 Farkas Levente
  2008-06-09 16:26 ` Avi Kivity
  0 siblings, 1 reply; 3+ messages in thread
From: Farkas Levente @ 2008-05-28 11:20 UTC (permalink / raw)
  To: kvm

hi,
we just noticed that while we run a guest with 4vcpu (the host has 4 core):
-----------------------------------------
  3278 ?        Sl   2138:49 /usr/bin/qemu-kvm -M pc -m 2048 -smp 4
-monitor pty -boot c -hda /dev/VolGroup00/centos-i386-root -hdb
/dev/VolGroup00/centos-i386-swap -hdc /dev/md2 -net
nic,macaddr=00:16:3e:58:66:7b,vlan=0 -net
tap,fd=11,script=,vlan=0,ifname=vnet0 -usb -usbdevice tablet -vnc
127.0.0.1:0
-----------------------------------------
the guest only see 3 cpu?:
-----------------------------------------
# cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 2
model name      : QEMU Virtual CPU version 0.9.1
stepping        : 3
cpu MHz         : 2399.968
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx lm pni
bogomips        : 4806.74

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 2
model name      : QEMU Virtual CPU version 0.9.1
stepping        : 3
cpu MHz         : 2399.968
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx lm pni
bogomips        : 4800.27

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 2
model name      : QEMU Virtual CPU version 0.9.1
stepping        : 3
cpu MHz         : 2399.968
cache size      : 2048 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu de pse tsc msr pae mce cx8 apic mtrr pge mca cmov
pat pse36 clflush mmx fxsr sse sse2 syscall nx lm pni
bogomips        : 4797.91
-----------------------------------------


-- 
   Levente                               "Si vis pacem para bellum!"


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-06-09 17:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-28 11:20 smp bug in kvm-69 Farkas Levente
2008-06-09 16:26 ` Avi Kivity
2008-06-09 17:45   ` Farkas Levente

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox