public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* kvm and cpu type
@ 2009-01-22 13:16 Riccardo Veraldi
  2009-01-22 13:43 ` Alexander Graf
  2009-01-22 16:51 ` Amit Shah
  0 siblings, 2 replies; 3+ messages in thread
From: Riccardo Veraldi @ 2009-01-22 13:16 UTC (permalink / raw)
  To: kvm

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


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

* Re: kvm and cpu type
  2009-01-22 13:16 kvm and cpu type Riccardo Veraldi
@ 2009-01-22 13:43 ` Alexander Graf
  2009-01-22 16:51 ` Amit Shah
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Graf @ 2009-01-22 13:43 UTC (permalink / raw)
  To: Riccardo Veraldi; +Cc: kvm

Riccardo Veraldi wrote:
> 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.

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

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

* Re: kvm and cpu type
  2009-01-22 13:16 kvm and cpu type Riccardo Veraldi
  2009-01-22 13:43 ` Alexander Graf
@ 2009-01-22 16:51 ` Amit Shah
  1 sibling, 0 replies; 3+ messages in thread
From: Amit Shah @ 2009-01-22 16:51 UTC (permalink / raw)
  To: Riccardo Veraldi; +Cc: kvm

On (Thu) Jan 22 2009 [14:16:15], Riccardo Veraldi wrote:
> 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.

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

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

It shouldn't matter much.

Amit

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

end of thread, other threads:[~2009-01-22 16:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-22 13:16 kvm and cpu type Riccardo Veraldi
2009-01-22 13:43 ` Alexander Graf
2009-01-22 16:51 ` Amit Shah

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