public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* Question about the *-cpu* option
@ 2009-05-27  0:27 LiJun Huang
  2009-05-27  6:35 ` Alexander Graf
  0 siblings, 1 reply; 2+ messages in thread
From: LiJun Huang @ 2009-05-27  0:27 UTC (permalink / raw)
  To: kvm

Hi.
there is a * -cpu qemu64,+sse2 * in the command line 
http://cleo.tlv.redhat.com/qumrawiki/DanKenigsberg/QemuCli
could any one tell me what's this mean ?
should i set the cpu model as *core2duo* if my host's cpu is *Intel(R) 
Core(TM)2 Duo CPU* ?


Thanks



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

* Re: Question about the *-cpu* option
  2009-05-27  0:27 Question about the *-cpu* option LiJun Huang
@ 2009-05-27  6:35 ` Alexander Graf
  0 siblings, 0 replies; 2+ messages in thread
From: Alexander Graf @ 2009-05-27  6:35 UTC (permalink / raw)
  To: LiJun Huang; +Cc: kvm


On 27.05.2009, at 02:27, LiJun Huang wrote:

> Hi.
> there is a * -cpu qemu64,+sse2 * in the command line http://cleo.tlv.redhat.com/qumrawiki/DanKenigsberg/QemuCli
> could any one tell me what's this mean ?

qemu64 is the "safe" CPU type every modern CPU should support. The  
+sse2 means that additionally SSE2 should be exposed to the guest.  
IIRC SSE2 is part of the qemu64 description already though, so that's  
a rather useless option.

> should i set the cpu model as *core2duo* if my host's cpu is  
> *Intel(R) Core(TM)2 Duo CPU* ?

If you don't need to migrate virtual machines you can use the core2duo  
option to expose a virtual CPU to the guest that's really close to a  
real Core 2 Duo. It's not necessary though and might break under  
certain conditions.

I usually use the qemu64 CPU type on every machine I have, unless I  
run a guest operating system that's picky about the CPU it runs on  
(Mac OS X and Hyper-V mostly).

Alex


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

end of thread, other threads:[~2009-05-27  6:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-27  0:27 Question about the *-cpu* option LiJun Huang
2009-05-27  6:35 ` Alexander Graf

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