From f23d61f32aba44bb8ce1b64826b7dc23e3f2f97d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Mon, 12 Oct 2009 10:20:46 -0400 Subject: [PATCH] Generate mptable unconditionally. VMware ESX requires an mptable even for uniprocessor guests. Qemu pcbios commit 9869338791ca6f44e628b88e6335ffd66e1ed86b Signed-off-by: Gleb Natapov --- src/mptable.c | 4 ---- 1 file changed, 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) -- 2.39.5