From: Gleb Natapov <gleb@redhat.com>
To: Sebastian Herbszt <herbszt@gmx.de>
Cc: Kevin O'Connor <kevin@koconnor.net>, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] seabios: missing DMI type 4 entry if -cpu parameter is used
Date: Mon, 23 Nov 2009 15:00:43 +0200 [thread overview]
Message-ID: <20091123130043.GN2999@redhat.com> (raw)
In-Reply-To: <A4D600CE1A5042B0B67D112C2FC45A49@FSCPC>
On Sun, Nov 22, 2009 at 06:05:02PM +0100, Sebastian Herbszt wrote:
> v0.11.0-rc0-1677:
> use -cpu pentium and check SMBIOS tables. DMI type 4 entry is missing.
> Works with Bochs bios.
>
See two problems here. First one in seabios (patch attached). And the
second one in QEMU. Why pentium cpu type lacks apic? Specifying
-cpu pentium,+apic works with current seabios without the patch.
Signed-off-by: Gleb Natapov <gleb@redhat.com>
diff --git a/src/smp.c b/src/smp.c
index 7100476..00cf64b 100644
--- a/src/smp.c
+++ b/src/smp.c
@@ -75,7 +75,9 @@ smp_probe(void)
cpuid(1, &eax, &ebx, &ecx, &cpuid_features);
if (! (cpuid_features & CPUID_APIC)) {
// No apic - only the main cpu is present.
+ dprintf(1, "No apic - only the main cpu is present.\n");
CountCPUs= 1;
+ MaxCountCPUs = 1;
return;
}
--
Gleb.
next prev parent reply other threads:[~2009-11-23 13:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-22 17:05 [Qemu-devel] seabios: missing DMI type 4 entry if -cpu parameter is used Sebastian Herbszt
2009-11-23 13:00 ` Gleb Natapov [this message]
2009-11-23 18:33 ` Sebastian Herbszt
2009-11-24 14:42 ` Kevin O'Connor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091123130043.GN2999@redhat.com \
--to=gleb@redhat.com \
--cc=herbszt@gmx.de \
--cc=kevin@koconnor.net \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).