mips malta: Fix fdc regression and use qdev for i8042 setup
[qemu.git] / pc-bios / bios-pq / 0003_kvm-bios-generate-mptable-unconditionally.patch
blob7826a86d0e2be2b77be4012ad4a5012cdc0b9640
1 generate mptable unconditionally (Avi Kivity)
3 VMware ESX requires an mptable even for uniprocessor guests.
5 Signed-off-by: Avi Kivity <avi@qumranet.com>
6 Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
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;
16 -#ifdef BX_QEMU
17 - if (smp_cpus <= 1)
18 - return;
19 -#endif
21 #ifdef BX_USE_EBDA_TABLES
22 mp_config_table = (uint8_t *)(ram_size - ACPI_DATA_SIZE - MPTABLE_MAX_SIZE);
23 #else