From patchwork Sun Oct 11 18:59:03 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gleb Natapov X-Patchwork-Id: 35722 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 440AAB7B7A for ; Mon, 12 Oct 2009 06:05:51 +1100 (EST) Received: from localhost ([127.0.0.1]:43244 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx3jo-00008h-2x for incoming@patchwork.ozlabs.org; Sun, 11 Oct 2009 15:05:48 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mx3dV-0006Sr-Fa for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mx3dR-0006RG-IE for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:17 -0400 Received: from [199.232.76.173] (port=57418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mx3dP-0006RC-Ez for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:11 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60280) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mx3dO-0000mB-VN for qemu-devel@nongnu.org; Sun, 11 Oct 2009 14:59:11 -0400 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n9BIx9v8030667; Sun, 11 Oct 2009 14:59:09 -0400 Received: from dhcp-1-237.tlv.redhat.com (dhcp-1-237.tlv.redhat.com [10.35.1.237]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n9BIx7Z0005465; Sun, 11 Oct 2009 14:59:08 -0400 Received: by dhcp-1-237.tlv.redhat.com (Postfix, from userid 13519) id 1361F18D410; Sun, 11 Oct 2009 20:59:07 +0200 (IST) From: Gleb Natapov To: kevin@koconnor.net Date: Sun, 11 Oct 2009 20:59:03 +0200 Message-Id: <1255287547-28329-1-git-send-email-gleb@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: qemu-devel@nongnu.org Subject: [Qemu-devel] [PATCH 1/5] Generate mptable unconditionally. X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org VMware ESX requires an mptable even for uniprocessor guests. Qemu pcbios commit 9869338791ca6f44e628b88e6335ffd66e1ed86b Signed-off-by: Gleb Natapov --- src/mptable.c | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/src/mptable.c b/src/mptable.c index 793968c..3945d2e 100644 --- a/src/mptable.c +++ b/src/mptable.c @@ -18,10 +18,6 @@ mptable_init(void) dprintf(3, "init MPTable\n"); - if (MaxCountCPUs <= 1) - // Building an mptable on uniprocessor machines confuses some OSes. - return; - int length = (sizeof(struct mptable_config_s) + sizeof(struct mpt_cpu) * MaxCountCPUs + sizeof(struct mpt_bus)