All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] [Question] why x2apic's set by default without host support(on Nehalem CPU).
@ 2013-07-22 11:24 Peter Huang(Peng)
  2013-07-22 12:36   ` [Qemu-devel] " Peter Huang(Peng)
  2013-07-22 13:41 ` Eduardo Habkost
  0 siblings, 2 replies; 12+ messages in thread
From: Peter Huang(Peng) @ 2013-07-22 11:24 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 1073 bytes --]

Hi, Everyone

I have been encountered a problem recently.
My box uses Nehalem E5520 CPU, and this model doesn't support x2apic feature.
I created a VM on KVM, and uses cpu mode=pass-through, I can get the right cpu
model from the VM, but I can also see that the CPU in the vm supports x2apic.

This seems werid.
>From QEMU's CPU model definition, Nehalem also doesn't support x2apic.

Can anyone explain it?

Thanks to you all!

Below is the cpuinfo from host and guest:
host:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc
arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni dtes64
monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm dca sse4_1 sse4_2
popcnt lahf_lm dtherm tpr_shadow vnmi flexpriority ept vpid

vm:
fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush
mmx fxsr sse sse2 ss ht syscall nx rdtscp lm constant_tsc arch_perfmon rep_good
 nopl pni ssse3 cx16 sse4_1 sse4_2 *x2apic *popcnt hypervisor lahf_lm

[-- Attachment #2: Type: text/html, Size: 3280 bytes --]

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

end of thread, other threads:[~2013-07-24  2:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-22 11:24 [Qemu-devel] [Question] why x2apic's set by default without host support(on Nehalem CPU) Peter Huang(Peng)
2013-07-22 12:36 ` Peter Huang(Peng)
2013-07-22 12:36   ` [Qemu-devel] " Peter Huang(Peng)
2013-07-22 23:55   ` Marcelo Tosatti
2013-07-22 23:55     ` [Qemu-devel] " Marcelo Tosatti
2013-07-23  2:38     ` Peter Huang(Peng)
2013-07-23  2:38       ` [Qemu-devel] " Peter Huang(Peng)
2013-07-22 13:41 ` Eduardo Habkost
2013-07-23  2:44   ` Peter Huang(Peng)
2013-07-23 11:27     ` Jiri Denemark
2013-07-24  0:48       ` Peter Huang(Peng)
2013-07-24  2:54         ` [Qemu-devel] [Solved]FYI//Re: " Peter Huang(Peng)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.