| 1 |
generate mptable unconditionally (Avi Kivity)
|
| 2 |
|
| 3 |
VMware ESX requires an mptable even for uniprocessor guests.
|
| 4 |
|
| 5 |
Signed-off-by: Avi Kivity <avi@qumranet.com>
|
| 6 |
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
|
| 7 |
|
| 8 |
Index: bochs/bios/rombios32.c
|
| 9 |
===================================================================
|
| 10 |
--- bochs.orig/bios/rombios32.c
|
| 11 |
+++ bochs/bios/rombios32.c
|
| 12 |
@@ -970,11 +970,6 @@ static void mptable_init(void)
|
| 13 |
int ioapic_id, i, len;
|
| 14 |
int mp_config_table_size;
|
| 15 |
|
| 16 |
-#ifdef BX_QEMU
|
| 17 |
- if (smp_cpus <= 1)
|
| 18 |
- return;
|
| 19 |
-#endif
|
| 20 |
-
|
| 21 |
#ifdef BX_USE_EBDA_TABLES
|
| 22 |
mp_config_table = (uint8_t *)(ram_size - ACPI_DATA_SIZE - MPTABLE_MAX_SIZE);
|
| 23 |
#else
|
| 24 |
|
| 25 |
|