From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: BIOS doesn't build MP table for uniprocessor environments Date: Fri, 23 Mar 2007 10:02:25 +0200 Message-ID: <46038991.3080102@qumranet.com> References: <46ABAEA8-1521-47D1-8F39-A3F4B2DC25A1@netapp.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Randy Thelen Return-path: In-reply-to: <46ABAEA8-1521-47D1-8F39-A3F4B2DC25A1-HgOvQuBEEgTQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org 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