Skip to contentSkip to conversation

kvm and cpu type

DISCUSSION Riccardo Veraldi 3 participants 3 messages Jan 22, 2009 KVM

lore
Share & tools
lore
#0 lore raw

Hello Iam using kvm83 on CentOS5.2

my system has 2x dual Core intel CPU

Intel(R) Xeon(R) CPU 5110 @ 1.60GHz

asdetected by Centos.

If I start kvm-qemu with no CPU option everythign works and hte guest machine detects cpu as

QEMU Virtual CPU version 0.9.1

iv I run qemu-kvm -cpu core2duo

the guest hangs at boot time when it detects the CPU.

I do not know how to fix it.

I also do not know if using -cpu swtch can improve performances.

thank you

Rick

#1 lore raw
Quoted 14 lines · Riccardo Veraldi

Hello Iam using kvm83 on CentOS5.2

my system has 2x dual Core intel CPU

Intel(R) Xeon(R) CPU 5110 @ 1.60GHz

asdetected by Centos.

If I start kvm-qemu with no CPU option everythign works and hte guest machine detects cpu as

QEMU Virtual CPU version 0.9.1

Quoted 7 lines

iv I run qemu-kvm -cpu core2duo

the guest hangs at boot time when it detects the CPU.

I do not know how to fix it.

I also do not know if using -cpu swtch can improve performances.

Yes, -cpu core*duo is broken in kvm < 84. Please use the default. There's usually no real benefit for anyone to use a specific cpu type, unless you know that you need it.

Alex

#2 lore raw
In reply to Riccardo Veraldi
Quoted 11 lines · Riccardo Veraldi

Hello Iam using kvm83 on CentOS5.2

my system has 2x dual Core intel CPU

Intel(R) Xeon(R) CPU 5110 @ 1.60GHz

asdetected by Centos.

If I start kvm-qemu with no CPU option everythign works and hte guest machine detects cpu as

Quoted 8 lines

QEMU Virtual CPU version 0.9.1

iv I run qemu-kvm -cpu core2duo

the guest hangs at boot time when it detects the CPU.

I do not know how to fix it.

This is a known problem and has been fixed for the upcoming kvm-84 release.

Quoted 1 line

I also do not know if using -cpu swtch can improve performances.

It shouldn't matter much.

Amit