* BIOS doesn't build MP table for uniprocessor environments
@ 2007-03-22 21:10 Randy Thelen
[not found] ` <46ABAEA8-1521-47D1-8F39-A3F4B2DC25A1-HgOvQuBEEgTQT0dZR+AlfA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Randy Thelen @ 2007-03-22 21:10 UTC (permalink / raw)
To: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Folks --
I noticed (after a long sequence of experimentation) that an smp
change has been made to the bios to disable the generation of the MP
table in a uniprocessor environment:
# svn cat svn://kvm.qumranet.com/kvm/tags/public/17/qemu/pc-bios/
bios.diff | tail
+#ifdef BX_QEMU
+ if (smp_cpus <= 1)
+ return;
+#endif
+
#
Is there a good rationale for this?
-- Randy
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: BIOS doesn't build MP table for uniprocessor environments
[not found] ` <46ABAEA8-1521-47D1-8F39-A3F4B2DC25A1-HgOvQuBEEgTQT0dZR+AlfA@public.gmane.org>
@ 2007-03-23 8:02 ` Avi Kivity
0 siblings, 0 replies; 2+ messages in thread
From: Avi Kivity @ 2007-03-23 8:02 UTC (permalink / raw)
To: Randy Thelen; +Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
Randy Thelen wrote:
> Folks --
>
> I noticed (after a long sequence of experimentation) that an smp
> change has been made to the bios to disable the generation of the MP
> table in a uniprocessor environment:
>
> # svn cat svn://kvm.qumranet.com/kvm/tags/public/17/qemu/pc-bios/
> bios.diff | tail
>
> +#ifdef BX_QEMU
> + if (smp_cpus <= 1)
> + return;
> +#endif
> +
>
>
bios.diff is actually the difference between the bochs bios sources at
some random point in time and the sources Fabrice used to generate
bios.bin for qemu-0.9.0. It is not a kvm thing.
I don't know the reason for this particular difference; presumably
compatibility with something. You can try asking on qemu-devel, or you
can try downloading the bochs bios (preferably from around the time
Fabrice pulled it) and backing out this change.
--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-23 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-22 21:10 BIOS doesn't build MP table for uniprocessor environments Randy Thelen
[not found] ` <46ABAEA8-1521-47D1-8F39-A3F4B2DC25A1-HgOvQuBEEgTQT0dZR+AlfA@public.gmane.org>
2007-03-23 8:02 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox