[1/5] Generate mptable unconditionally.

Submitted by Gleb Natapov on Oct. 11, 2009, 6:59 p.m.

Details

Message ID 1255287547-28329-1-git-send-email-gleb@redhat.com
State Not Applicable
Headers show

Commit Message

Gleb Natapov Oct. 11, 2009, 6:59 p.m.
VMware ESX requires an mptable even for uniprocessor guests.

Qemu pcbios commit 9869338791ca6f44e628b88e6335ffd66e1ed86b

Signed-off-by: Gleb Natapov <gleb@redhat.com>
---
 src/mptable.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

Patch hide | download patch | download mbox

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)